New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
View | Details | Raw Unified | Return to bug 714
Collapse All | Expand All

(-)a/test/product_large.cpp (+9 lines)
Lines 56-64 void test_product_large() Link Here
56
    MatrixXf mat2(32,32); mat2.setRandom();
56
    MatrixXf mat2(32,32); mat2.setRandom();
57
    MatrixXf r1 = mat1.row(2)*mat2.transpose();
57
    MatrixXf r1 = mat1.row(2)*mat2.transpose();
58
    VERIFY_IS_APPROX(r1, (mat1.row(2)*mat2.transpose()).eval());
58
    VERIFY_IS_APPROX(r1, (mat1.row(2)*mat2.transpose()).eval());
59
59
60
    MatrixXf r2 = mat1.row(2)*mat2;
60
    MatrixXf r2 = mat1.row(2)*mat2;
61
    VERIFY_IS_APPROX(r2, (mat1.row(2)*mat2).eval());
61
    VERIFY_IS_APPROX(r2, (mat1.row(2)*mat2).eval());
62
  }
62
  }
63
#endif
63
#endif
64
65
  // Regression test for bug 714:
66
#ifdef EIGEN_HAS_OPENMP
67
  std::cout << "Testing OpenMP\n";
68
  omp_set_dynamic(1);
69
  for(int i = 0; i < g_repeat; i++) {
70
    CALL_SUBTEST_6( product(Matrix<float,Dynamic,Dynamic>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) );
71
  }
72
#endif
64
}
73
}

Return to bug 714