mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
changed: remove unnecessary initialization
the values are all overwritten in updateLocalResidual so no reason to set them to zero first
This commit is contained in:
parent
1231781525
commit
a68cb1427e
@ -181,7 +181,6 @@ public:
|
|||||||
|
|
||||||
// resize the internal arrays of the linearizer
|
// resize the internal arrays of the linearizer
|
||||||
resize_(elemCtx);
|
resize_(elemCtx);
|
||||||
reset_(elemCtx);
|
|
||||||
|
|
||||||
// compute the local residual and its Jacobian
|
// compute the local residual and its Jacobian
|
||||||
unsigned numPrimaryDof = elemCtx.numPrimaryDof(/*timeIdx=*/0);
|
unsigned numPrimaryDof = elemCtx.numPrimaryDof(/*timeIdx=*/0);
|
||||||
|
Loading…
Reference in New Issue
Block a user