Fix bug with outer-x logic in region.get_slices(). When adding guard cells, typo meant xi was modified instead of xo.
Don't use 'in-place' modification operators in region.py. Using += and -= (sometimes) modifies input values, which was not intended. Fix is to replace, e.g., self.nx -= xbndry with self.nx = self.nx - xbndry.
xi
was modified instead ofxo
.region.py
. Using+=
and-=
(sometimes) modifies input values, which was not intended. Fix is to replace, e.g.,self.nx -= xbndry
withself.nx = self.nx - xbndry
.