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:
Arne Morten Kvarving 2022-05-03 09:38:05 +02:00
parent 1231781525
commit a68cb1427e

View File

@ -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);