Skip to content

Commit

Permalink
remove not used extrapolation code
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed May 26, 2016
1 parent 1d03f63 commit cea271e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Compiler/Template/CodegenC.tpl
Expand Up @@ -5063,9 +5063,7 @@ template equationNonlinear(SimEqSystem eq, Context context, String modelNamePref
<%nls.crefs |> name hasindex i0 =>
let namestr = cref(name)
<<
data->simulationInfo->nonlinearSystemData[<%nls.indexNonLinearSystem%>].nlsx[<%i0%>] = <%namestr%>;
data->simulationInfo->nonlinearSystemData[<%nls.indexNonLinearSystem%>].nlsxOld[<%i0%>] = _<%namestr%>(1) /*old1*/;
data->simulationInfo->nonlinearSystemData[<%nls.indexNonLinearSystem%>].nlsxExtrapolation[<%i0%>] = extraPolate(data, _<%namestr%>(1) /*old1*/, _<%namestr%>(2) /*old2*/, <%crefAttributes(name)%>.min, <%crefAttributes(name)%>.max);
data->simulationInfo->nonlinearSystemData[<%nls.indexNonLinearSystem%>].nlsxOld[<%i0%>] = <%namestr%>;
>>
;separator="\n"%>
retValue = solve_nonlinear_system(data, threadData, <%nls.indexNonLinearSystem%>);
Expand Down

0 comments on commit cea271e

Please sign in to comment.