Skip to content

Commit 9a829f5

Browse files
committed
Updated BackendDAEEXT_omc.cpp to be the same as the RML version (remember to update both functions if you make changes)
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17438 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 351a273 commit 9a829f5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Compiler/runtime/BackendDAEEXT_omc.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,6 @@ extern int BackendDAEEXT_setAssignment(int lenass1, int lenass2, modelica_metaty
168168
int i=0;
169169

170170
nelts = MMC_HDRSLOTS(MMC_GETHDR(ass1));
171-
if (lenass1 > nelts)
172-
return 0;
173171
if (nelts > 0) {
174172
n = lenass1;
175173
if(match) {
@@ -182,8 +180,6 @@ extern int BackendDAEEXT_setAssignment(int lenass1, int lenass2, modelica_metaty
182180
}
183181
}
184182
nelts = MMC_HDRSLOTS(MMC_GETHDR(ass2));
185-
if (lenass2 > nelts)
186-
return 0;
187183
if (nelts > 0) {
188184
m = lenass2;
189185
if(row_match) {

0 commit comments

Comments
 (0)