Skip to content

Commit

Permalink
Merge branch 'fix.deallocate.lb.distri' into 'master.dev'
Browse files Browse the repository at this point in the history
Only deallocate PartIntGlob if it was allocated. Might not be allocated if the...

See merge request piclas/piclas!772
  • Loading branch information
scopplestone committed Feb 8, 2023
2 parents be83024 + 13c257e commit 58eb787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loadbalance/loaddistribution.f90
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ SUBROUTINE ApplyWeightDistributionMethod(ElemTimeExists)
END DO
END IF ! PartIntExists

DEALLOCATE(PartIntGlob)
SDEALLOCATE(PartIntGlob)
END IF ! MPIRoot
#endif /*PARTICLES*/

Expand Down

0 comments on commit 58eb787

Please sign in to comment.