Skip to content
Snippets Groups Projects
Commit ad9c5f0c authored by Alperen, Abdullah's avatar Alperen, Abdullah
Browse files

fixed bug on SAI calculation

parent 23bae7ef
No related branches found
No related tags found
No related merge requests found
...@@ -1699,7 +1699,7 @@ real sparse_approx_inverse( const sparse_matrix * const A, ...@@ -1699,7 +1699,7 @@ real sparse_approx_inverse( const sparse_matrix * const A,
} }
// change the value if any of the column indices is seen // change the value if any of the column indices is seen
for ( d_j = A->start[pos_x[d_i]]; for ( d_j = A->start[pos_x[d_i]];
d_j < A->start[pos_x[d_i + 1]]; ++d_j ) d_j < A->start[pos_x[d_i] + 1]; ++d_j )
{ {
if ( Y[A->j[d_j]] == 1 ) if ( Y[A->j[d_j]] == 1 )
{ {
......
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