mathjs 10.0.0 → 10.0.1

Sign up to get free protection for your applications and to get access to all the features.
package/HISTORY.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # History
2
2
 
3
+ # 2021-12-22, version 10.0.1
4
+
5
+ - Fix #1681: function `gamma` giving inaccurate complex results in some cases.
6
+ Thanks @kmdrGroch.
7
+ - Fixed a typo in an example, see #2366. Thanks @blackwindforce.
8
+
9
+
3
10
  # 2021-11-03, version 10.0.0
4
11
 
5
12
  !!! BE CAREFUL: BREAKING CHANGES IN THE TYPESCRIPT DEFINITIONS !!!
@@ -91,7 +91,7 @@ const scope2 = {
91
91
  print(code2.evaluate(scope2)) // 9
92
92
 
93
93
  // change a value in the scope and re-evaluate the node
94
- scope.a = 3
94
+ scope2.a = 3
95
95
  print(code2.evaluate(scope2)) // 27
96
96
 
97
97
  // 3. using function math.compile