Skip to content

Commit 7075c87

Browse files
niklworsOpenModelica-Hudson
authored andcommitted
fix for wrong ublas matrix indices
removed not needed files
1 parent 1213c36 commit 7075c87

File tree

5 files changed

+2
-219
lines changed

5 files changed

+2
-219
lines changed

Compiler/Template/CodegenCpp.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12395,9 +12395,9 @@ template initialAnalyticJacobians(Integer indexJacobian, list<JacobianColumn> ja
1239512395
let type = getConfigString(MATRIX_FORMAT)
1239612396
let matrixinit = match type
1239712397
case ("dense") then
12398-
'ublas::zero_matrix<double> (<%indexColumn%>,<%index_%>)'
12398+
'ublas::zero_matrix<double> (<%index_%>,<%indexColumn%>)'
1239912399
case ("sparse") then
12400-
'<%indexColumn%>,<%index_%>,<%sp_size_index%>'
12400+
'<%index_%>,<%indexColumn%>,<%sp_size_index%>'
1240112401
else "A matrix type is not supported"
1240212402
end match
1240312403
<<

SimulationRuntime/cpp/SimCoreFactory/OMCFactory/StaticLinSolverOMCFactory.cpp

Lines changed: 0 additions & 45 deletions
This file was deleted.

SimulationRuntime/cpp/SimCoreFactory/OMCFactory/StaticNonLinSolverOMCFactory.cpp

Lines changed: 0 additions & 66 deletions
This file was deleted.

SimulationRuntime/cpp/SimCoreFactory/OMCFactory/StaticOMCFactory.cpp

Lines changed: 0 additions & 61 deletions
This file was deleted.

SimulationRuntime/cpp/SimCoreFactory/OMCFactory/StaticSolverOMCFactory.cpp

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)