Skip to content

Commit

Permalink
fix for wrong ublas matrix indices
Browse files Browse the repository at this point in the history
removed not needed files
  • Loading branch information
niklwors committed Sep 1, 2015
1 parent e18a45a commit 79df014
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 219 deletions.
4 changes: 2 additions & 2 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -12395,9 +12395,9 @@ template initialAnalyticJacobians(Integer indexJacobian, list<JacobianColumn> ja
let type = getConfigString(MATRIX_FORMAT)
let matrixinit = match type
case ("dense") then
'ublas::zero_matrix<double> (<%indexColumn%>,<%index_%>)'
'ublas::zero_matrix<double> (<%index_%>,<%indexColumn%>)'
case ("sparse") then
'<%indexColumn%>,<%index_%>,<%sp_size_index%>'
'<%index_%>,<%indexColumn%>,<%sp_size_index%>'
else "A matrix type is not supported"
end match
<<
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 79df014

Please sign in to comment.