Skip to content

Commit 49e3548

Browse files
author
Daniel Hedberg
committed
Fixed bug in constant evaluations of functions with multi-dimensional array assignments.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@6931 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 7da267c commit 49e3548

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Cevalfunc.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ algorithm oval := matchcontinue(oldVal,newVal,insubs,env,ty)
15801580
case(val1::vals1, val2::vals2, insubs,env,ty)
15811581
equation
15821582
val3 = mergeValues(val1,val2,insubs,env,ty);
1583-
vals3 = mergeValues2(vals2,vals2,insubs,env,ty);
1583+
vals3 = mergeValues2(vals1,vals2,insubs,env,ty);
15841584
then
15851585
val3::vals3;
15861586
end matchcontinue;

0 commit comments

Comments
 (0)