|
@ -55,10 +55,7 @@ namespace storm { |
|
|
// Now check if the process already converged within our precision.
|
|
|
// Now check if the process already converged within our precision.
|
|
|
converged = xCopy.equalModuloPrecision(tmp, precision, relative); |
|
|
converged = xCopy.equalModuloPrecision(tmp, precision, relative); |
|
|
|
|
|
|
|
|
// If the method did not converge yet, we prepare the x vector for the next iteration.
|
|
|
|
|
|
if (!converged) { |
|
|
|
|
|
xCopy = tmp; |
|
|
xCopy = tmp; |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Increase iteration count so we can abort if convergence is too slow.
|
|
|
// Increase iteration count so we can abort if convergence is too slow.
|
|
|
++iterationCount; |
|
|
++iterationCount; |
|
|