small correction to SparseConjugateGradient(), no Issue
This commit is contained in:
@@ -112,6 +112,9 @@ float *SparseConjugateGradient(void Ax(float *Product, float *x, void *Pass), fl
|
|||||||
c += ((temp-t)+rs);
|
c += ((temp-t)+rs);
|
||||||
rs = t;
|
rs = t;
|
||||||
}
|
}
|
||||||
|
#ifdef _OPENMP
|
||||||
|
#pragma omp critical
|
||||||
|
#endif
|
||||||
rs += c;
|
rs += c;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user