aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/solvedio.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/solvedio.spad.pamphlet')
-rw-r--r--src/algebra/solvedio.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/solvedio.spad.pamphlet b/src/algebra/solvedio.spad.pamphlet
index f085b22e..54a9330e 100644
--- a/src/algebra/solvedio.spad.pamphlet
+++ b/src/algebra/solvedio.spad.pamphlet
@@ -120,7 +120,7 @@ DiophantineSolutionPackage(): Cat == Capsule where
v := zero(k)$VI
for i in 1..k repeat
ind > 0 =>
- coeffs.i < 0 =>
+ negative? coeffs.i =>
v.i := zeroNode + ind + coeffs.i
coeffs.i > 0 =>
v.i := zeroNode + ind + coeffs.i