aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-19 16:28:43 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-19 16:28:43 -0700
commit9089dc78a6c7fd21be5fc115451996018779dd40 (patch)
treeb105c3f9c7a4b2a0add1328d5e4c1faec2f3ecc3 /src
parent9e666300844804758187b15845c32fd24d7fb830 (diff)
add erf dep and testing
Diffstat (limited to 'src')
-rw-r--r--src/library.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js
index 1ba4f2fa..939da8b1 100644
--- a/src/library.js
+++ b/src/library.js
@@ -5439,6 +5439,7 @@ LibraryManager.library = {
return (ONE_SQRTPI * Math.exp(- x * x) * q2);
},
erfcf: 'erfcf',
+ erf__deps: ['erfc'],
erf: function (x) {
var MATH_TOLERANCE = 1E-12;
var TWO_SQRTPI = 1.128379167095512574;