aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/gaussian.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/gaussian.spad.pamphlet')
-rw-r--r--src/algebra/gaussian.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/gaussian.spad.pamphlet b/src/algebra/gaussian.spad.pamphlet
index dac3d85a..d32a353a 100644
--- a/src/algebra/gaussian.spad.pamphlet
+++ b/src/algebra/gaussian.spad.pamphlet
@@ -273,7 +273,7 @@ ComplexCategory(R:CommutativeRing): Category ==
complex(0, - c.associate)]
c := unitNormal real x
x := c.associate * x
- imag x < 0 =>
+ negative? imag x =>
x := complex(- imag x, real x)
[- c.unit * imaginary(), x, c.associate * imaginary()]
[c.unit ::%, x, c.associate ::%]