Opened 11 years ago

Closed 11 years ago

#2434 closed defect (invalid)

wrong handling of pre-values

Reported by: Lennart Ochel Owned by: Willi Braun
Priority: critical Milestone: 1.9.1
Component: Run-time Version: trunk
Keywords: Cc: Volker Waurich

Description

model test
  Real a, b;
equation
  a = time;
  when sample(0.2, 0.2) then
    b = pre(a);
  end when;
end test;

pre(a) get evaluated wrong (i.e. not) at event instances.

Change History (1)

comment:1 by Lennart Ochel, 11 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.