aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/intalg.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/intalg.spad.pamphlet')
-rw-r--r--src/algebra/intalg.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/intalg.spad.pamphlet b/src/algebra/intalg.spad.pamphlet
index a08b41fa..c9002c53 100644
--- a/src/algebra/intalg.spad.pamphlet
+++ b/src/algebra/intalg.spad.pamphlet
@@ -292,11 +292,11 @@ AlgebraicIntegrate(R0, F, UP, UPUP, R): Exports == Implementation where
varRoot?(p, derivation) ==
for c in coefficients primitivePart p repeat
- derivation(c) ^= 0 => return true
+ derivation(c) ~= 0 => return true
false
pLogDeriv(log, derivation) ==
- map(derivation, log.coeff) ^= 0 =>
+ map(derivation, log.coeff) ~= 0 =>
error "can only handle logs with constant coefficients"
-- one?(n := degree(log.coeff)) =>
((n := degree(log.coeff)) = 1) =>