Skip to content

Commit

Permalink
fix umfpack issues under windows
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22147 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Michael Kloeppel committed Sep 5, 2014
1 parent 1880606 commit a091d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimulationRuntime/cpp/Include/Core/Math/SparseMatrix.h
Expand Up @@ -40,7 +40,7 @@ struct sparse_inserter {

inline t2 operator()(const unsigned int i, const unsigned int j)
{
t2 res(i,j,content);
t2 res(i-1,j-1,content);
return res;
}

Expand Down

0 comments on commit a091d5a

Please sign in to comment.