aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/plot3d.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-03-12 19:17:32 +0000
committerdos-reis <gdr@axiomatics.org>2011-03-12 19:17:32 +0000
commitc93e84048964194e5674e859d6bd8827010f09f6 (patch)
tree407ca23d232bf3f974550fce0175c49495ef49c0 /src/algebra/plot3d.spad.pamphlet
parent52fddea19454dc2b9bcb54c6edd5a4cd4f5765a9 (diff)
downloadopen-axiom-c93e84048964194e5674e859d6bd8827010f09f6.tar.gz
* src/algebra/: Systematically use negative? when comparing for
greater than 0.
Diffstat (limited to 'src/algebra/plot3d.spad.pamphlet')
-rw-r--r--src/algebra/plot3d.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/plot3d.spad.pamphlet b/src/algebra/plot3d.spad.pamphlet
index 44429031..aa98d794 100644
--- a/src/algebra/plot3d.spad.pamphlet
+++ b/src/algebra/plot3d.spad.pamphlet
@@ -343,7 +343,7 @@ Plot3D(): Exports == Implementation where
todo2 := concat!(todo2, p)
todo1 := rest todo1; todo2 := rest todo2
if not null todo1 then (t := first(todo1); p := first(todo2))
- if n > 0 then
+ if positive? n then
NUMFUNEVALS := NUMFUNEVALS + n
t := curve.knots; p := curve.points
xRg := select(p,xCoord,min) .. select(p,xCoord,max)