Commit 1a5c66ee authored by Christoph Mallon's avatar Christoph Mallon
Browse files

execfreq: Remove unnecessary fabs().

The result of gs_matrix_gauss_seidel() never is negative.
parent a42f3e9e
......@@ -110,7 +110,7 @@ static double *solve_lgs(gs_matrix_t *mat, double *x, int size)
do {
++iter;
dev = gs_matrix_gauss_seidel(mat, x, size);
} while (fabs(dev) > SEIDEL_TOLERANCE);
} while (dev > SEIDEL_TOLERANCE);
stat_ev_tim_pop("execfreq_seidel_time");
stat_ev_dbl("execfreq_seidel_iter", iter);
......
Supports Markdown
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