Skip to content

Commit

Permalink
p4est_bits: match explicit array length to .h
Browse files Browse the repository at this point in the history
  • Loading branch information
cburstedde committed Feb 7, 2025
1 parent c49e9c8 commit 414c3c9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/p4est_bits.c
Original file line number Diff line number Diff line change
Expand Up @@ -1385,9 +1385,9 @@ p4est_quadrant_face_neighbor_extra (const p4est_quadrant_t * q,
}

void
p4est_quadrant_half_face_neighbors (const p4est_quadrant_t * q,
int face, p4est_quadrant_t n[],
p4est_quadrant_t nur[])
p4est_quadrant_half_face_neighbors (const p4est_quadrant_t * q, int face,
p4est_quadrant_t n[P4EST_HALF],
p4est_quadrant_t nur[P4EST_HALF])
{
const p4est_qcoord_t qh = P4EST_QUADRANT_LEN (q->level);
const p4est_qcoord_t qh_2 = P4EST_QUADRANT_LEN (q->level + 1);
Expand Down Expand Up @@ -1455,8 +1455,8 @@ p4est_quadrant_half_face_neighbors (const p4est_quadrant_t * q,
}

void
p4est_quadrant_all_face_neighbors (const p4est_quadrant_t * q,
int face, p4est_quadrant_t n[])
p4est_quadrant_all_face_neighbors (const p4est_quadrant_t * q, int face,
p4est_quadrant_t n[2 + P4EST_HALF])
{
const int qcid = p4est_quadrant_child_id (q);
p4est_quadrant_t *r = &n[P4EST_HALF + 1];
Expand Down

0 comments on commit 414c3c9

Please sign in to comment.