Skip to content

Commit

Permalink
fix debug dump of time
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed Mar 23, 2016
1 parent 15e8be7 commit 80ab59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenC.tpl
Expand Up @@ -4748,7 +4748,7 @@ case e as SES_LINEAR(lSystem=ls as LINEARSYSTEM(__), alternativeTearing = at) th
/* check if solution process was successful */
if (retValue > 0){
const int indexes[2] = {1,<%ls.index%>};
throwStreamPrintWithEquationIndexes(threadData, indexes, "Solving linear system <%ls.index%> failed at time=%.15g.\nFor more information please use -lv LOG_LS.", time);
throwStreamPrintWithEquationIndexes(threadData, indexes, "Solving linear system <%ls.index%> failed at time=%.15g.\nFor more information please use -lv LOG_LS.", data->localData[0]->timeValue);
<%returnval2%>
}
/* write solution */
Expand Down

0 comments on commit 80ab59a

Please sign in to comment.