aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorArun Isaac2021-02-24 13:23:15 +0530
committerArun Isaac2021-02-24 13:23:15 +0530
commit6614ecbb65b71a7d9745a510189a05ff6b69f770 (patch)
tree34c3ae863470710907d39d92b22e72cc223a7244 /src
parente50812c0a38f8583c5646c365a18acd42cfbe3a6 (diff)
downloadnsmc-6614ecbb65b71a7d9745a510189a05ff6b69f770.tar.gz
nsmc-6614ecbb65b71a7d9745a510189a05ff6b69f770.tar.lz
nsmc-6614ecbb65b71a7d9745a510189a05ff6b69f770.zip
Remove workaround for sph-sc negation bug.
The bug has been fixed upstream. * src/integrands.sc (gaussian-integrand): Remove workaround for sph-sc negation bug.
Diffstat (limited to 'src')
-rw-r--r--src/integrands.sc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/integrands.sc b/src/integrands.sc
index 750530c..920d257 100644
--- a/src/integrands.sc
+++ b/src/integrands.sc
@@ -10,10 +10,7 @@
r))))
(define (gaussian-integrand r x -params) (double double (const gsl-vector*) void*)
- ;; This is a workaround to fix negation bug in sph-sc. See
- ;; https://github.com/sph-mn/sph-sc/issues/5 . TODO: Remove
- ;; workaround once bug is fixed upstream.
- (return (exp (- 0 (/ (gsl-pow-2 r) 2)))))
+ (return (exp (- (/ (gsl-pow-2 r) 2)))))
(define (x-coordinate-integrand r x -params) (double double (const gsl-vector*) void*)
(return (fabs (* r (gsl-vector-get x 0)))))