diff --git a/opm/autodiff/fastSparseProduct.hpp b/opm/autodiff/fastSparseProduct.hpp index 4fa2f7527..c5ba0defe 100644 --- a/opm/autodiff/fastSparseProduct.hpp +++ b/opm/autodiff/fastSparseProduct.hpp @@ -151,7 +151,6 @@ inline void fastDiagSparseProduct(// const Eigen::DiagonalMatrix::InnerIterator It; for (It it(res, col); it; ++it) { @@ -172,7 +171,6 @@ inline void fastSparseDiagProduct(const Eigen::SparseMatrix& lhs, // Multiply columns by diagonal rhs. int n = res.cols(); -#pragma omp parallel for for (int col = 0; col < n; ++col) { typedef Eigen::SparseMatrix::InnerIterator It; for (It it(res, col); it; ++it) {