From fdf297e5ac199e74c9fd77e89424d659cf8be83f Mon Sep 17 00:00:00 2001 From: OLSSON Hans Date: Mon, 31 Jan 2022 13:55:43 +0100 Subject: [PATCH] Spelling --- Modelica/Resources/C-Sources/ModelicaStandardTables.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Modelica/Resources/C-Sources/ModelicaStandardTables.c b/Modelica/Resources/C-Sources/ModelicaStandardTables.c index 653acab723..982918ac7a 100644 --- a/Modelica/Resources/C-Sources/ModelicaStandardTables.c +++ b/Modelica/Resources/C-Sources/ModelicaStandardTables.c @@ -505,10 +505,11 @@ static size_t findRowIndex2(const double* table, size_t nRow, size_t nCol, static size_t findColIndex(_In_ const double* table, size_t nCol, size_t last, double x) MODELICA_NONNULLATTR; - /* Same as findRowIndex but works on rows */ + /* Same as findRowIndex but works on columns */ + static size_t findColIndex2(_In_ const double* table, size_t nCol, size_t last, double x, double dx) MODELICA_NONNULLATTR; - /* Same as findRowIndex2 but works on rows */ + /* Same as findRowIndex2 but works on columns */ static int findLess(double x, double dx, double val) { return x