#19312: Update to pynac-0.5.0
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.10
Component: packages: | Resolution:
standard | Merged in:
Keywords: | Reviewers:
Authors: Ralf Stephan | Work issues:
Report Upstream: N/A | Commit:
Branch: u/rws/19312-2 | dfb2ba3790253582ca7ec2e5eb6ce3c2aadbe798
Dependencies: #19606 | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
In `src/sage/calculus/desolvers.py`, I think you need to justify the
changes
{{{
#!diff
@@ -676,7 +676,7 @@ def desolve_laplace(de, dvar, ics=None, ivar=None):
dvar, ivar = dvar
elif ivar is None:
ivars = de.variables()
- ivars = [t for t in ivars if t != dvar]
+ ivars = [t for t in ivars if t is not dvar]
if len(ivars) != 1:
raise ValueError("Unable to determine independent variable,
please specify.")
ivar = ivars[0]
@@ -1182,7 +1181,7 @@ def desolve_rk4(de, dvar, ics=None, ivar=None,
end_points=None, step=0.1, output
if ivar is None:
ivars = de.variables()
- ivars = [t for t in ivars if t != dvar]
+ ivars = [t for t in ivars if repr(t) != repr(dvar)]
if len(ivars) != 1:
raise ValueError("Unable to determine independent variable,
please specify.")
ivar = ivars[0]
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19312#comment:28>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.