small correction to SparseConjugateGradient(), no Issue

This commit is contained in:
Ingo
2013-10-17 22:14:59 +02:00
parent 3a65e6d016
commit c79a869b45

View File

@@ -112,6 +112,9 @@ float *SparseConjugateGradient(void Ax(float *Product, float *x, void *Pass), fl
c += ((temp-t)+rs);
rs = t;
}
#ifdef _OPENMP
#pragma omp critical
#endif
rs += c;
}