Skip to content

Commit

Permalink
Ensure we have a valid region
Browse files Browse the repository at this point in the history
  • Loading branch information
dschwoerer committed Oct 22, 2024
1 parent 1505840 commit ae578be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mesh/interpolation/hermite_spline_xz.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Field3D XZHermiteSpline::interpolate(const Field3D& f, const std::string& region
ASSERT1(f.getMesh() == localmesh);
Field3D f_interp{emptyFrom(f)};

const auto region2 = fmt::format("RGN_YPAR_{:+d}", y_offset);
const auto region2 = y_offset ? fmt::format("RGN_YPAR_{:+d}", y_offset) : region;

#if USE_NEW_WEIGHTS
#ifdef HS_USE_PETSC
Expand Down

0 comments on commit ae578be

Please sign in to comment.