diff options
| author | gingerBill <bill@gingerbill.org> | 2020-05-08 16:09:35 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2020-05-08 16:09:35 +0100 |
| commit | d52695b077a2f9faeda17e770f0110302652c36f (patch) | |
| tree | dc142c43d8543b28d288e7dc8fe859015983649c /src/exact_value.cpp | |
| parent | 4fc60601d3530df1d05500b2416c60029ef29f08 (diff) | |
Fix constant complex arithmetic bug
Diffstat (limited to 'src/exact_value.cpp')
| -rw-r--r-- | src/exact_value.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exact_value.cpp b/src/exact_value.cpp index 2e33d1786..edaf27217 100644 --- a/src/exact_value.cpp +++ b/src/exact_value.cpp @@ -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; |