]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed InvertBasicExpressionVisitor.invert to keep inverted value type 86/1486/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 20 Feb 2018 22:26:16 +0000 (00:26 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 20 Feb 2018 22:26:16 +0000 (00:26 +0200)
Previously the code would convert all Number-values to Double instead of
passing the inverted value to Variable.setValue in the same type the
original non-inverted value was in.

refs #7777

Change-Id: I78771698d3e2222ede47969e3cceea2166c23a75


No differences found