From b44b5e29df42523a6937bfecd5578a538d49f739 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Mon, 24 Apr 2017 23:14:11 +0200 Subject: [PATCH] refs #2244: Consider else branch --- Modelica/Resources/C-Sources/ModelicaStandardTables.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Modelica/Resources/C-Sources/ModelicaStandardTables.c b/Modelica/Resources/C-Sources/ModelicaStandardTables.c index 5b8fb38394..031b5b6eac 100644 --- a/Modelica/Resources/C-Sources/ModelicaStandardTables.c +++ b/Modelica/Resources/C-Sources/ModelicaStandardTables.c @@ -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, @@ -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,