Commit c9e09365 authored by Henrik Zimmer's avatar Henrik Zimmer
Browse files

Bug fix: no final Cholmod solve is needed when no variables are rounded = 2x speed up

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@24 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 60220513
......@@ -103,7 +103,7 @@ MISolver::solve(
++n_full;
}
if( no_rounding_)
if( no_rounding_)
return;
// preconditioner for CG
......@@ -252,6 +252,7 @@ MISolver::solve(
}
// final full solution?
if( _to_round.size() != 0)
if( final_full_solution_ || direct_rounding_)
{
if( noisy_ > 2) std::cerr << "final full solution" << std::endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment