Compilation of basicbenchmark fixed

(cherry picked from commit d72c794ccd21637ba56dec0dd8bd0cffef7bc47e)
This commit is contained in:
Jakub Lichman 2021-04-19 13:46:38 +00:00 committed by David Tellenbach
parent 42a8bdd4d7
commit 34d0be9ec1

View File

@ -16,13 +16,13 @@ void benchBasic_loop(const MatrixType& I, MatrixType& m, int iterations)
{
asm("#begin_bench_loop LazyEval");
if (MatrixType::SizeAtCompileTime!=Eigen::Dynamic) asm("#fixedsize");
m = (I + 0.00005 * (m + m.lazy() * m)).eval();
m = (I + 0.00005 * (m + m.lazyProduct(m))).eval();
}
else if (Mode==OmpEval)
{
asm("#begin_bench_loop OmpEval");
if (MatrixType::SizeAtCompileTime!=Eigen::Dynamic) asm("#fixedsize");
m = (I + 0.00005 * (m + m.lazy() * m)).evalOMP();
m = (I + 0.00005 * (m + m.lazyProduct(m))).eval();
}
else
{