Commit 36d46465 authored by Melanie Lipp's avatar Melanie Lipp
Browse files

[fvassembler] Set r=0 in the beginning of assembleResidual.

parent 39c05939
Pipeline #5828 waiting for manual action with stages
...@@ -209,6 +209,8 @@ public: ...@@ -209,6 +209,8 @@ public:
//! assemble a residual r //! assemble a residual r
void assembleResidual(ResidualType& r, const SolutionVector& curSol) void assembleResidual(ResidualType& r, const SolutionVector& curSol)
{ {
r = 0.0;
checkAssemblerState_(); checkAssemblerState_();
// update the grid variables for the case of active caching // update the grid variables for the case of active caching
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment