#8568: can not simplify derivative of erf
----------------------+-----------------------------------------------------
Reporter: gmcmanus | Owner: burcin
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.4.4
Component: calculus | Resolution: fixed
Keywords: | Author: Burcin Erocal, Karl-Dieter Crisman
Upstream: N/A | Reviewer: Karl-Dieter Crisman, Burcin Erocal
Merged: | Work_issues:
----------------------+-----------------------------------------------------
Comment(by kcrisman):
Here it is. I'll try to fix it quickly, hopefully this can still get in
4.4.4.
{{{
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/devel/sage/sage/interfaces/maxima.py",
line 2245:
sage: latex(maxima(derivative(ceil(x*y*d), d,x,x,y)))
Exception raised:
Traceback (most recent call last):
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_70[4]>", line 1, in <module>
latex(maxima(derivative(ceil(x*y*d), d,x,x,y)))###line 2245:
sage: latex(maxima(derivative(ceil(x*y*d), d,x,x,y)))
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/interfaces/expect.py", line 1034, in __call__
return self._coerce_from_special_method(x)
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/interfaces/expect.py", line 1058, in
_coerce_from_special_method
return (x.__getattribute__(s))(self)
File "expression.pyx", line 435, in
sage.symbolic.expression.Expression._maxima_
(sage/symbolic/expression.cpp:3420)
File "sage_object.pyx", line 379, in
sage.structure.sage_object.SageObject._interface_
(sage/structure/sage_object.c:3374)
File "sage_object.pyx", line 468, in
sage.structure.sage_object.SageObject._maxima_init_
(sage/structure/sage_object.c:5083)
File "expression.pyx", line 458, in
sage.symbolic.expression.Expression._interface_init_
(sage/symbolic/expression.cpp:3510)
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/symbolic/expression_conversions.py", line 214, in
__call__
return self.arithmetic(ex, operator)
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/symbolic/expression_conversions.py", line 515, in
arithmetic
args = ["(%s)"%self(op) for op in ex.operands()]
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/symbolic/expression_conversions.py", line 214, in
__call__
return self.arithmetic(ex, operator)
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/symbolic/expression_conversions.py", line 515, in
arithmetic
args = ["(%s)"%self(op) for op in ex.operands()]
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/symbolic/expression_conversions.py", line 218, in
__call__
return self.derivative(ex, operator)
File
"/mnt/usb1/scratch/kcrisman/sage-4.4.4.alpha0-boxen.math.washington.edu-x86_64-Linux/local/lib/python
/site-packages/sage/symbolic/expression_conversions.py", line 495, in
derivative
raise NotImplementedError, "arguments must be distinct variables"
NotImplementedError: arguments must be distinct variables
**********************************************************************
1 items had failures:
1 of 6 in __main__.example_70
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/kcrisman/.sage//tmp/.doctest_maxima.py
[14.2 s]
----------------------------------------------------------------------
The following tests failed:
sage -t "devel/sage/sage/interfaces/maxima.py"
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8568#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.