Apply changes to 1g solver

This commit is contained in:
Shikhar Kumar 2019-07-22 14:14:49 -04:00
parent 6e77ddc532
commit bc363cc934

View file

@ -127,7 +127,7 @@ int cmfd_linsolver_1g(const double* A_data, const double* b, double* x,
// Compute residual and update error
double res = (tmpx[irow] - x[irow]) / tmpx[irow];
err = res * res;
err += res * res;
}
}