Skip to content

Commit

Permalink
fix newlines between Algloop includes of Jacobian files
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25869 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
rfranke committed May 1, 2015
1 parent f14a53f commit 22f067e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -9912,14 +9912,14 @@ template algloopfilesInclude2(SimEqSystem eq, Context context, Text &varDecls, S
Residual equations are handled differently."
::=
match eq
case SES_LINEAR(__)
case SES_LINEAR(__)
case e as SES_NONLINEAR(__)
then
let num = index
match simCode
case SIMCODE(modelInfo = MODELINFO(__)) then
<<#include "OMCpp<%fileNamePrefix%>Algloop<%num%>.h">>
end match
then
let num = index
match simCode
case SIMCODE(modelInfo = MODELINFO(__)) then
'#include "OMCpp<%fileNamePrefix%>Algloop<%num%>.h"<%\n%>'
end match
case e as SES_MIXED(cont = eq_sys)
then
<<
Expand Down Expand Up @@ -10020,7 +10020,7 @@ template algloopMainfile2(SimEqSystem eq, SimCode simCode ,Text& extraFuncs,Text
let num = index
<<
#include "OMCpp<%filename%>Algloop<%index%>.h"
#include "OMCpp<%filename%>Algloop<%index%>.cpp"
#include "OMCpp<%filename%>Algloop<%index%>.cpp"<%\n%>
>>
else
<<
Expand Down

0 comments on commit 22f067e

Please sign in to comment.