aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/draw.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/draw.spad.pamphlet')
-rw-r--r--src/algebra/draw.spad.pamphlet8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algebra/draw.spad.pamphlet b/src/algebra/draw.spad.pamphlet
index de5dc3e3..52f12b71 100644
--- a/src/algebra/draw.spad.pamphlet
+++ b/src/algebra/draw.spad.pamphlet
@@ -318,9 +318,9 @@ TopLevelDrawFunctionsForCompiledFunctions():
myTrap1: (SF-> SF, SF) -> SF
myTrap1(ff:SF-> SF, f:SF):SF ==
s := trapNumericErrors(ff(f))$Lisp :: Union(SF, "failed")
- s case "failed" => _$NaNvalue$Lisp
+ s case "failed" => quietDoubleNaN()$Lisp
r:=s::SF
- r >max()$SF or r < min()$SF => _$NaNvalue$Lisp
+ r >max()$SF or r < min()$SF => quietDoubleNaN()$Lisp
r
makePt2: (SF,SF) -> Point SF
@@ -493,9 +493,9 @@ TopLevelDrawFunctionsForCompiledFunctions():
myTrap2: ((SF, SF) -> SF, SF, SF) -> SF
myTrap2(ff:(SF, SF) -> SF, u:SF, v:SF):SF ==
s := trapNumericErrors(ff(u, v))$Lisp :: Union(SF, "failed")
- s case "failed" => _$NaNvalue$Lisp
+ s case "failed" => quietDoubleNaN()$Lisp
r:SF := s::SF
- r >max()$SF or r < min()$SF => _$NaNvalue$Lisp
+ r >max()$SF or r < min()$SF => quietDoubleNaN()$Lisp
r
recolor(ptFunc,colFunc) ==