Skip to content

Commit

Permalink
Update trilinos_vector.cc
Browse files Browse the repository at this point in the history
Corrected variable name
  • Loading branch information
juleoc02 committed Dec 2, 2021
1 parent e1adda0 commit 58994a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lac/trilinos_vector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ namespace TrilinosWrappers
// in parallel, check that the vector
// is zero on _all_ processors.
const auto max_n_negative = Utilities::MPI::max(flag, get_mpi_communicator());
return num_negative == 0;
return max_n_negative == 0;
}


Expand Down

0 comments on commit 58994a6

Please sign in to comment.