Skip to content

Commit

Permalink
Fix BlockVector init bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Henrique Bergallo Rocha committed Jan 6, 2025
1 parent 2de76d6 commit 1ebf876
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/problem_operators/problem_operator_interface.C
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ void
ProblemOperatorInterface::Init(mfem::BlockVector & X)
{
X.Update(_block_true_offsets);
X = 0.0;
for (size_t i = 0; i < _test_variables.size(); ++i)
{
_test_variables.at(i)->MakeTRef(_test_variables.at(i)->ParFESpace(), X, _block_true_offsets[i]);
Expand Down

0 comments on commit 1ebf876

Please sign in to comment.