void-packages/srcpkgs/sagemath/patches/09-doctest_numerical_fix.patch
2022-02-03 14:31:06 +01:00

14 lines
605 B
Diff

- This fixes a doctest failure due to a small numerical issue when running
maxima-sbcl on 32 bit
--- a/src/sage/interfaces/maxima_abstract.py
+++ b/src/sage/interfaces/maxima_abstract.py
@@ -1525,7 +1525,7 @@ class MaximaAbstractElement(ExtraTabCompletion, InterfaceElement):
EXAMPLES::
sage: maxima('exp(-sqrt(x))').nintegral('x',0,1)
- (0.5284822353142306, 4.1633141378838...e-11, 231, 0)
+ (0.5284822353142306, 4.163...e-11, 231, 0)
Note that GP also does numerical integration, and can do so to very
high precision very quickly::