Skip to content

Commit 563df79

Browse files
committed
Return int
1 parent 62379c7 commit 563df79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

include/bout/boundary_region_iter.hxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ public:
539539
signed char _offset() const { return region->bndry_points[pos].offset; }
540540
signed char _valid() const { return region->bndry_points[pos].valid; }
541541
Ind3D _ind() const { return region->bndry_points[pos].index; }
542-
signed char _boundary_width() const {
542+
int _boundary_width() const {
543543
return region->localmesh->ystart - region->bndry_points[pos].abs_offset + 1;
544544
}
545545
BoutReal _length([[maybe_unused]] CELL_LOC loc) const {
@@ -663,7 +663,7 @@ public:
663663
signed char _offset() const { return region->_dir; }
664664
signed char _valid() const { return region->valid; }
665665
Ind3D _ind() const { return region->rgn[pos]; }
666-
signed char _boundary_width() const {
666+
int _boundary_width() const {
667667
if constexpr (isX) {
668668
return region->localmesh->xstart;
669669
}

0 commit comments

Comments
 (0)