aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/plot3d.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/plot3d.spad.pamphlet')
-rw-r--r--src/algebra/plot3d.spad.pamphlet4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algebra/plot3d.spad.pamphlet b/src/algebra/plot3d.spad.pamphlet
index eae26c33..44429031 100644
--- a/src/algebra/plot3d.spad.pamphlet
+++ b/src/algebra/plot3d.spad.pamphlet
@@ -192,11 +192,11 @@ Plot3D(): Exports == Implementation where
select(l,f,g) ==
m := f first l
- if (EQL(m, quietDoubleNaN()$Lisp)$Lisp) then m := 0
+ if (%sptreq(m, quietDoubleNaN()$Lisp)$Foreign(Builtin)) then m := 0
-- for p in rest l repeat m := g(m,fp)
for p in rest l repeat
fp : F := f p
- if (EQL(fp, quietDoubleNaN()$Lisp)$Lisp) then fp := 0
+ if (%sptreq(fp, quietDoubleNaN()$Lisp)$Foreign(Builtin)) then fp := 0
m := g(m,fp)
m