Skip to content

Commit a236b5a

Browse files
jbluehpcarruscag
andauthored
Update Common/src/linear_algebra/CSysSolve.cpp
Co-authored-by: Pedro Gomes <38071223+pcarruscag@users.noreply.github.com>
1 parent e4afd06 commit a236b5a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Common/src/linear_algebra/CSysSolve.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,7 @@ unsigned long CSysSolve<ScalarType>::Solve_b(CSysMatrix<ScalarType> & Jacobian,
10571057

10581058
/*--- Solve the system ---*/
10591059

1060+
/*--- Local variable to prevent all threads from writing to a shared location (this->Residual). ---*/
10601061
ScalarType residual = 0.0;
10611062

10621063
HandleTemporariesIn(LinSysRes, LinSysSol);

0 commit comments

Comments
 (0)