Skip to content
Snippets Groups Projects
Commit c05554cf authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

initialize normOfOldCorrection to 1 instead of 0. This avoids one occurrence of NaN

[[Imported from SVN: r2951]]
parent 8608cced
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ void ::LoopSolver<VectorType, BitVectorType>::solve()
double error = std::numeric_limits<double>::max();
double normOfOldCorrection = 0;
double normOfOldCorrection = 1;
double normOfOldError = 0;
double totalConvRate = 1;
this->maxTotalConvRate_ = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment