Skip to content

Commit

Permalink
- fix typos.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14390 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Dec 14, 2012
1 parent 0e5818c commit 4347c65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Compiler/Util/Error.mo
Expand Up @@ -587,7 +587,7 @@ public constant Message UNBOUND_PARAMETER_WARNING = MESSAGE(500, TRANSLATION(),
public constant Message BUILTIN_FUNCTION_PRODUCT_HAS_SCALAR_PARAMETER = MESSAGE(502, TRANSLATION(), WARNING(),
Util.gettext("Function \"product\" has scalar as argument in %s in component %s"));
public constant Message SETTING_FIXED_ATTRIBUTE = MESSAGE(503, TRANSLATION(), WARNING(),
Util.gettext("Using overdeterimed solver for initialization. Setting fixed=false to the following variables: %s"));
Util.gettext("Using overdetermined solver for initialization. Setting fixed=false to the following variables: %s"));
public constant Message FAILED_TO_EVALUATE_FUNCTION = MESSAGE(506, TRANSLATION(), ERROR(),
Util.gettext("Failed to evaluate function: %s"));
public constant Message FINAL_OVERRIDE = MESSAGE(508, TRANSLATION(), ERROR(),
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/c/ModelicaExternalC/tables.c
Expand Up @@ -1133,7 +1133,7 @@ const double InterpolationTable_getElt(InterpolationTable *tpl, size_t row, size
/* is this really correct? doesn't it depends on tpl>colWise? */
ASSERT6(
row < tpl->rows && col < tpl->cols,
"In Table: %s from File: %s with Size[%lu,%lu] try to get Element[%lu,%lu] aut of range!",
"In Table: %s from File: %s with Size[%lu,%lu] try to get Element[%lu,%lu] out of range!",
tpl->tablename, tpl->filename,
(unsigned long)tpl->rows, (unsigned long)tpl->cols,
(unsigned long)row, (unsigned long)col);
Expand Down Expand Up @@ -1497,7 +1497,7 @@ double InterpolationTable2D_linInterpolate(double x, double x_1, double x_2, dou

const double InterpolationTable2D_getElt(InterpolationTable2D *tpl, size_t row, size_t col)
{
ASSERT6(row < tpl->rows && col < tpl->cols, "In Table: %s from File: %s with Size[%lu,%lu] try to get Element[%lu,%lu] aut of range!", tpl->tablename, tpl->filename, (unsigned long)tpl->rows, (unsigned long)tpl->cols, (unsigned long)row, (unsigned long)col);
ASSERT6(row < tpl->rows && col < tpl->cols, "In Table: %s from File: %s with Size[%lu,%lu] try to get Element[%lu,%lu] out of range!", tpl->tablename, tpl->filename, (unsigned long)tpl->rows, (unsigned long)tpl->cols, (unsigned long)row, (unsigned long)col);
return tpl->data[row*tpl->cols+col];
}

Expand Down

0 comments on commit 4347c65

Please sign in to comment.