In scripting, 1-1+1=-1

Hi

I am using RTT/OCL 1.10

This is due to the fact that the operation is evaluated as 1-(1+1) Is is fixable, or already fixed in a more recent version ? Thanks

In scripting, 1-1+1=-1

On Friday 21 January 2011 10:04:04 thierry [dot] bultel [..] ... wrote:
> Hi
>
> I am using RTT/OCL 1.10
>
> This is due to the fact that the operation is evaluated as
> 1-(1+1)
> Is is fixable, or already fixed in a more recent version ?

Patch against 1.x in attachment. Is also in svn (trunk) and same fix pushed to
the 2.2 branch.

Thanks for reporting,
Peter

ThierryBultel's picture

In scripting, 1-1+1=-1

Hi

I am using RTT/OCL 1.10

This is due to the fact that the operation is evaluated as
1-(1+1)
Is is fixable, or already fixed in a more recent version ?
Thanks