Skip to content

Commit

Permalink
Use equivTypes function instead of equality
Browse files Browse the repository at this point in the history
This fixes #3518. Equality does not take into consideration that the
source information might be different for two types.
  • Loading branch information
sjoelund committed Nov 3, 2015
1 parent 728d95d commit 1034be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/Types.mo
Expand Up @@ -5125,7 +5125,7 @@ algorithm
equation
false = isArray(t1);
false = isArray(t2);
equality(t1 = t2);
true = equivtypes(t1,t2);
c = constAnd(c1, c2);
then
DAE.PROP(t1,c);
Expand Down

0 comments on commit 1034be4

Please sign in to comment.