Fix constant complex arithmetic bug

This commit is contained in:
gingerBill
2020-05-08 16:09:35 +01:00
parent 4fc60601d3
commit d52695b077

View File

@@ -651,6 +651,8 @@ void match_exact_values(ExactValue *x, ExactValue *y) {
case ExactValue_Complex:
switch (y->kind) {
case ExactValue_Complex:
return;
case ExactValue_Quaternion:
*x = exact_value_to_quaternion(*x);
return;