Skip to content

Commit

Permalink
Fix operator precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
felker committed Jun 6, 2024
1 parent 811ea3c commit 4e6ba72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bvals/bvals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
BoundaryValues::BoundaryValues(MeshBlock *pmb, BoundaryFlag *input_bcs,
ParameterInput *pin)
: BoundaryBase(pmb->pmy_mesh, pmb->loc, pmb->block_size, input_bcs), pmy_block_(pmb),
is_shear{}, loc_shear{0, pmy_mesh_->nrbx1*(1L << pmb->loc.level - 1)},
is_shear{}, loc_shear{0, pmy_mesh_->nrbx1*(1L << pmb->loc.level) - 1},
sb_data_{}, sb_flux_data_{} {
// Check BC functions for each of the 6 boundaries in turn ---------------------
for (int i=0; i<6; i++) {
Expand Down

0 comments on commit 4e6ba72

Please sign in to comment.