Skip to content

Commit

Permalink
fix: it was printing the wrong number of errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanshauer committed Aug 28, 2023
1 parent fc06737 commit c962776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Analysis/TPZAnalysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ void TPZAnalysis::PostProcessErrorParallel(TPZVec<REAL> &ervec, bool store_error
for(int it = 0 ; it < numthreads ; it++)
{
int locmin = threaddata.fvalues[it].NElements();
nerrors = nerrors < locmin ? nerrors : locmin;
nerrors = nerrors > locmin ? nerrors : locmin;
}
values.Resize(nerrors,0);
// Summing up all the values of all threads
Expand Down

0 comments on commit c962776

Please sign in to comment.