mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix constant complex arithmetic bug
This commit is contained in:
@@ -651,6 +651,8 @@ void match_exact_values(ExactValue *x, ExactValue *y) {
|
|||||||
|
|
||||||
case ExactValue_Complex:
|
case ExactValue_Complex:
|
||||||
switch (y->kind) {
|
switch (y->kind) {
|
||||||
|
case ExactValue_Complex:
|
||||||
|
return;
|
||||||
case ExactValue_Quaternion:
|
case ExactValue_Quaternion:
|
||||||
*x = exact_value_to_quaternion(*x);
|
*x = exact_value_to_quaternion(*x);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user