summaryrefslogtreecommitdiff
path: root/cl/tests/approx.lisp
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-09-13 09:54:12 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-09-13 09:54:12 -0600
commit2e284b71500a1f8dc6cc46ecf21eb1e9389ea780 (patch)
treee9227f4ad4e9987dcc64055803ab3e70a5e801ce /cl/tests/approx.lisp
parent2cb14ebf79dd43aa96d54e65a0841d195d07bdf9 (diff)
downloadcmath-2e284b71500a1f8dc6cc46ecf21eb1e9389ea780.tar.gz
cmath-2e284b71500a1f8dc6cc46ecf21eb1e9389ea780.zip
new table macro, notes for 9/11
Diffstat (limited to 'cl/tests/approx.lisp')
-rw-r--r--cl/tests/approx.lisp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cl/tests/approx.lisp b/cl/tests/approx.lisp
index a458e66..2fd8124 100644
--- a/cl/tests/approx.lisp
+++ b/cl/tests/approx.lisp
@@ -15,9 +15,10 @@
:description "derivative at is within bounds"
(let ((f (lambda (x) (* x x)))
(x 2)
+ (accepted-delta 0.02)
(f-prime-at-x 4)
(delta 0.01))
(is (within-range-p
(derivative-at f x delta)
f-prime-at-x
- 0.1))))
+ accepted-delta))))