Fix constant complex arithmetic bug
This commit is contained in:
1 parent
4fc60601d3
commit
d52695b077
1 file changed
+2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user