Skip to content

Commit

Permalink
refs #2244: Consider else branch
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Apr 24, 2017
1 parent 21cab5d commit b44b5e2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Modelica/Resources/C-Sources/ModelicaStandardTables.c
Original file line number Diff line number Diff line change
Expand Up @@ -3075,6 +3075,10 @@ void ModelicaStandardTables_CombiTable2D_minimumAbscissa(void* _tableID,
uMin[0] = TABLE_COL0(1);
uMin[1] = TABLE_ROW0(1);
}
else {
uMin[0] = 0.;
uMin[1] = 0.;
}
}

void ModelicaStandardTables_CombiTable2D_maximumAbscissa(void* _tableID,
Expand All @@ -3087,6 +3091,10 @@ void ModelicaStandardTables_CombiTable2D_maximumAbscissa(void* _tableID,
uMax[0] = TABLE_COL0(nRow - 1);
uMax[1] = TABLE_ROW0(nCol - 1);
}
else {
uMax[0] = 0.;
uMax[1] = 0.;
}
}

double ModelicaStandardTables_CombiTable2D_read(void* _tableID, int force,
Expand Down

0 comments on commit b44b5e2

Please sign in to comment.