Opened 18 years ago
Last modified 18 years ago
#103 closed defect (fixed)
initial() does not seem to work
Reported by: | gunnar.andersson | Owned by: | gunnar.andersson |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | gunnar.andersson, haklu |
Description
Change History (2)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Håkan, this probably belongs to you. Maybee you have already fixed it in our
"branch".
Note:
See TracTickets
for help on using tickets.
Consider the following model:
class InitialBug
equation
end InitialBug;
When simulated and plotted using
simulate(InitialBug)
plot({x, y})
one sees that y(t) is 0 for t in [0, 0.2), not the expected value 1.5.
Possible cause: Builtin.initialEnv initializes an operator called "inital".
This looks like a typo.