Skip to content

Commit 566c1f0

Browse files
Nightly Botcwsmith
authored andcommitted
Merging develop into master
2 parents 12e3efd + a14b9dc commit 566c1f0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

phasta/phOutput.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,9 @@ static void getRigidBody(Output& o, BCs& bcs, apf::Numbering* n) {
373373
}
374374

375375
int rbIDs_size = PCU_Max_Int(rbIDmap.size());
376-
int* rbIDs = new int[rbIDs_size];
377-
int* rbMTs = new int[rbIDs_size];
376+
int* rbIDs = new int[rbIDs_size]();
377+
int* rbMTs = new int[rbIDs_size]();
378+
378379
if (!PCU_Comm_Self()) {
379380
int count = 0;
380381
for (rit=rbIDmap.begin(); rit!=rbIDmap.end(); rit++) {

0 commit comments

Comments
 (0)