﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3097	Relational operators give inconsistent results	raph85@…	somebody	"In the following model, relational operators give inconsistent results when the compared variable is set using an ""if-expression"":
{{{#!mo
model Test
  Real y;
  Boolean b1 = y < 100.0;
  Boolean b2 = y <= 100.0;
  Boolean b3 = y == 100.0;
  Boolean b4 = y >= 100.0;
  Boolean b5 = y > 100.0;
equation
  y = if time > 2 then 100 else 0;
end Test;
}}}

The results show that b1 b2 and b3 are all true at the same time, which is illogical."	defect	closed	high	Future	*unknown*	trunk	wontfix		
