Skip to content

Commit

Permalink
make SimulationResultsCmp fail, if a variable has not been found and …
Browse files Browse the repository at this point in the history
…add a test for it

also add a test for constant singular linear systems which are consistent (or inconsistent) - currently both fail in omc

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20864 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Christian SChubert committed May 28, 2014
1 parent 3fe28d6 commit b597c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/SimulationResultsCmp.c
Expand Up @@ -767,7 +767,7 @@ void* SimulationResultsCmp_compareResults(int isResultCmp, int runningTestsuite,
}
} else {
if (success) {
*success = 0==vardiffindx;
*success = ((ddf.n == 0) && (ngetfailedvars == 0) && (vardiffindx == 0));
}
}

Expand Down

0 comments on commit b597c87

Please sign in to comment.