Skip to content
Snippets Groups Projects
Commit f0fdad06 authored by Tuomas Karna's avatar Tuomas Karna
Browse files

fix compile

parent 66a40526
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ class linearSystemGmm : public linearSystem<scalar> { ...@@ -46,7 +46,7 @@ class linearSystemGmm : public linearSystem<scalar> {
} }
_a = 0; _a = 0;
} }
virtual void addToMatrix(int row, int col, scalar &val) virtual void addToMatrix(int row, int col, const scalar &val)
{ {
if(val != 0.0) (*_a)(row, col) += val; if(val != 0.0) (*_a)(row, col) += val;
} }
...@@ -54,7 +54,7 @@ class linearSystemGmm : public linearSystem<scalar> { ...@@ -54,7 +54,7 @@ class linearSystemGmm : public linearSystem<scalar> {
{ {
val = (*_a)(row, col); val = (*_a)(row, col);
} }
virtual void addToRightHandSide(int row, scalar &val) virtual void addToRightHandSide(int row, const scalar &val)
{ {
if(val != 0.0) (*_b)[row] += val; if(val != 0.0) (*_b)[row] += val;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment