diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-04 11:15:54 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-04 11:15:54 +0000 |
commit | 28390340e5986a33ddb64e1e7af6266c20b009ca (patch) | |
tree | 4e094859364273527bb5510d9cb225dd984a4da4 | |
parent | ecf5b771230ef747773aa54960ebc2a46902a0ed (diff) | |
download | micropython-28390340e5986a33ddb64e1e7af6266c20b009ca.tar.gz micropython-28390340e5986a33ddb64e1e7af6266c20b009ca.zip |
tests: Make rge-sm.py use less memory (integration step increased).
In addition to memory allocation failure, other problem was that 10**17
was overflowing. Now passes.
-rw-r--r-- | tests/misc/rge-sm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/rge-sm.py b/tests/misc/rge-sm.py index 40c6029b47..1860f7a318 100644 --- a/tests/misc/rge-sm.py +++ b/tests/misc/rge-sm.py @@ -111,4 +111,4 @@ def singleTraj(system, trajStart, h=0.02, tend=1.0): #phaseDiagram(sysSM, (lambda i, j: [0.354, 0.654, 1.278, 0.8 + 0.2 * i, 0.1 + 0.1 * j]), (lambda a: (a[4], a[5])), h=0.1, tend=math.log(10**17)) # initial conditions at M_Z -singleTraj(sysSM, [0.354, 0.654, 1.278, 0.983, 0.131], h=0.1, tend=math.log(10**17)) # true values +singleTraj(sysSM, [0.354, 0.654, 1.278, 0.983, 0.131], h=0.5, tend=math.log(10**17)) # true values |