Skip to content

Commit b22956f

Browse files
committed
+ Changed Mod.lookupIdxModification so that it can merge a final variables EqMod with it's other modifications. + Added testcase mofiles/FinalParameterModification.mo. git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5303 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent a5c5731 commit b22956f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Compiler/Mod.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1239,7 +1239,7 @@ algorithm
12391239
(mod_1,subs_1) = lookupIdxModification2(subs,idx);
12401240
mod_2 = merge(DAE.MOD(f,each_,subs_1,NONE), mod_1, {}, Prefix.NOPRE());
12411241
eq_1 = indexEqmod(eq, {idx});
1242-
mod_3 = merge(mod_2, DAE.MOD(f,each_,{},eq_1), {}, Prefix.NOPRE());
1242+
mod_3 = merge(mod_2, DAE.MOD(false,each_,{},eq_1), {}, Prefix.NOPRE());
12431243
then
12441244
mod_3;
12451245
case (mod,idx)

0 commit comments

Comments
 (0)