Skip to content

Commit

Permalink
Swap reference and actual (was wrong order in the result-file)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17704 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 15, 2013
1 parent 5a0bb63 commit db3395e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/runtime/SimulationResultsCmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ static unsigned int cmpData(int isResultCmp, char* varname, DataField *time, Dat
fprintf(stderr, "delta:%.6g reltol:%.6g\n",err,average);
#endif
if (fout) {
fprintf(fout, "%.6g,%.6g,%.6g,%.6g,%.6g,%.6g\n",tr,d,dr,err,AlmostEqualRelativeAndAbs(d,0) ? err/average : absdouble(err/d),average);
fprintf(fout, "%.6g,%.6g,%.6g,%.6g,%.6g,%.6g\n",tr,dr,d,err,AlmostEqualRelativeAndAbs(d,0) ? err/average : absdouble(err/d),average);
}
if ( err > average){
if (j+1<reftime->n) {
Expand Down

0 comments on commit db3395e

Please sign in to comment.