Skip to content

Commit

Permalink
adds missing copy of c2n_int to c2n
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Jul 21, 2021
1 parent 96cbc42 commit 9b40af2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ref_part.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ static REF_STATUS ref_part_meshb_cell(REF_CELL ref_cell, REF_LONG ncell,
sizeof(REF_INT), 1, file),
"int c2n pad tag");
}
for (cell = 0; cell < section_size; cell++)
for (node = 0; node < size_per; node++)
c2n[node + size_per * cell] =
(REF_GLOB)c2n_int[node + (node_per + 1) * cell];
} else {
if (version < 4) {
REIS(nread, fread(c2n_int, sizeof(REF_INT), nread, file), "int c2n");
Expand Down

0 comments on commit 9b40af2

Please sign in to comment.