This commit is contained in:
kai
2025-05-31 17:32:01 +02:00
parent 278a1b15a5
commit b20c12dfe3

View File

@@ -156,9 +156,10 @@ Jacobi::Result JacobiMPI::run(const Matrix &init, double epsilon,
nIter++;
std::swap(t0, t1);
if (nIter == maxNumIter) {
std::cout << phi[t1] << std::endl;
}
}
std::cout << phi[t1] << std::endl;
return Jacobi::Result{phi[t1], dist, nIter};
}