From f15aaebc9fafeb78a248756ec771498d510b19f6 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Thu, 4 Feb 2021 22:12:45 +0100 Subject: [PATCH] Revert "OpenMP to spClear to parallelize the loop." This reverts commit d171530b33021b2f3c45f824326cb6ddec73543c. --- src/maths/sparse/spbuild.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/maths/sparse/spbuild.c b/src/maths/sparse/spbuild.c index 306ad6d0b..0536bf624 100644 --- a/src/maths/sparse/spbuild.c +++ b/src/maths/sparse/spbuild.c @@ -105,9 +105,6 @@ spClear(MatrixPtr Matrix) /* Clear matrix. */ if (Matrix->PreviousMatrixWasComplex || Matrix->Complex) { -#ifdef USE_OMP -#pragma omp parallel for -#endif for (I = Matrix->Size; I > 0; I--) { pElement = Matrix->FirstInCol[I]; @@ -121,9 +118,6 @@ spClear(MatrixPtr Matrix) } else { -#ifdef USE_OMP -#pragma omp parallel for -#endif for (I = Matrix->Size; I > 0; I--) { pElement = Matrix->FirstInCol[I];