﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2241	Problem detecting discontinuity	fedebergero@…	somebody	"I have the following model

{{{
model test
  discrete Real z(start = 0);
algorithm
  when time >= 0 then
      z:=1;  
  end when;
end test;
}}}


If I simulate it, variable z does not get assigned 1 when the simulation starts (when time=0).

If I write it like:


{{{
model test
  discrete Real z(start = 0);
algorithm
  when time > 0 then
      z:=1;  
  end when;
end test;
}}}

(changing Greater equal for greater) it works (z get assigned at the begging of the simulation).

I think both models should behave the same, right?
Regards
Fede
"	defect	closed	high	1.9.0	Run-time	trunk	invalid		
