"time" is always nan. Only autonomous ODE is possible.

Bug #598632 reported by Eike
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Freeode
Fix Released
High
Eike

Bug Description

The special variable "time" always has the value nan (not a number) in the dynamic method. Therefore only autonomous systems (independent of time) can be modeled.

In the generated program, in method "dynamic" there is always a statement:
 time = nan

Time needs special treatment, this line should be removed.

Also esure that time is visible in "init***" and in "final" methods.
 "final": time = time at last time step
 "init***": time = 0 (time at firest time step)

Eike (eike-welk)
Changed in freeode:
importance: Undecided → High
status: New → Confirmed
assignee: nobody → Eike (eike-welk)
milestone: none → 0.4.0
Eike (eike-welk)
Changed in freeode:
status: Confirmed → In Progress
Eike (eike-welk)
Changed in freeode:
status: In Progress → Fix Committed
Eike (eike-welk)
Changed in freeode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.