[Scipy-tickets] [SciPy] #1709: scipy.integrate.odeint will work with values in scientific notation but not values that are written out.
SciPy Trac
scipy-tickets@scipy....
Tue Jul 24 17:45:41 CDT 2012
#1709: scipy.integrate.odeint will work with values in scientific notation but not
values that are written out.
-------------------------------------+--------------------------------------
Reporter: jgarc063 | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: scipy.integrate | Version: 0.9.0
Keywords: Odeint, scipy.integrate |
-------------------------------------+--------------------------------------
First system info:
Ubuntu 10.04
Python 3.1.2
Scipy 0.9.0
Matplotlib 1.1.0(unofficial version ported through a sprint)
In the code attached I've seperated the offending section. In the section
shown variable alpha is set to 3*10^4 and the code works giving the
expected responsed of an RLC circuit. However if I alternatively set alpha
to 30000 the response returned by odeint is incorrect. Additionally if I
set alpha to 3.2*10^4 the script won't even run. I also tried 3e4 and that
doesnt give the proper results either.
Thank you for your consideration.
Best Regards,
Jorge Garcia
--
Ticket URL: <http://projects.scipy.org/scipy/ticket/1709>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list