mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Apply changes to 1g solver
This commit is contained in:
parent
6e77ddc532
commit
bc363cc934
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue