Removed opm statements which did not belong there

This commit is contained in:
babrodtk 2015-08-27 16:37:49 +02:00
parent acd58f5272
commit cbdb95d61b

View File

@ -151,7 +151,6 @@ inline void fastDiagSparseProduct(// const Eigen::DiagonalMatrix<double, Eigen::
// Multiply rows by diagonal lhs. // Multiply rows by diagonal lhs.
int n = res.cols(); int n = res.cols();
#pragma omp parallel for
for (int col = 0; col < n; ++col) { for (int col = 0; col < n; ++col) {
typedef Eigen::SparseMatrix<double>::InnerIterator It; typedef Eigen::SparseMatrix<double>::InnerIterator It;
for (It it(res, col); it; ++it) { for (It it(res, col); it; ++it) {
@ -172,7 +171,6 @@ inline void fastSparseDiagProduct(const Eigen::SparseMatrix<double>& lhs,
// Multiply columns by diagonal rhs. // Multiply columns by diagonal rhs.
int n = res.cols(); int n = res.cols();
#pragma omp parallel for
for (int col = 0; col < n; ++col) { for (int col = 0; col < n; ++col) {
typedef Eigen::SparseMatrix<double>::InnerIterator It; typedef Eigen::SparseMatrix<double>::InnerIterator It;
for (It it(res, col); it; ++it) { for (It it(res, col); it; ++it) {