diff --git a/src/field/GhostLayerField.impl.h b/src/field/GhostLayerField.impl.h index 6a4d725f319e9e7fa2c718c194ca3b6528db0dc5..27c87ce0e119ad0d2b6d5fdc37626451fa0bc5e8 100644 --- a/src/field/GhostLayerField.impl.h +++ b/src/field/GhostLayerField.impl.h @@ -474,7 +474,7 @@ namespace field { return ForwardFieldIterator<const T,fSize_>( this, ci.xMin(),ci.yMin(), ci.zMin(), f, - ci.xSize(), ci.ySize(), ci.zSize(), f+1 ); + ci.xSize(), ci.ySize(), ci.zSize(), uint_c( f + cell_idx_t(1) ) ); } //******************************************************************************************************************* @@ -489,7 +489,7 @@ namespace field { return ForwardFieldIterator<T,fSize_>( this, ci.xMin(),ci.yMin(), ci.zMin(), f, - ci.xSize(), ci.ySize(), ci.zSize(), uint_c(f+1) ); + ci.xSize(), ci.ySize(), ci.zSize(), uint_c( f + cell_idx_t(1) ) ); } @@ -506,7 +506,7 @@ namespace field { return ForwardFieldIterator<const T,fSize_>( this, ci.xMin(),ci.yMin(), ci.zMin(), f, - ci.xSize(), ci.ySize(), ci.zSize(), f+1 ); + ci.xSize(), ci.ySize(), ci.zSize(), uint_c( f + cell_idx_t(1) ) ); } @@ -555,7 +555,7 @@ namespace field { return ForwardFieldIterator<T,fSize_>( this, ci.xMin(),ci.yMin(), ci.zMin(), f, - ci.xSize(), ci.ySize(), ci.zSize(), f+1 ); + ci.xSize(), ci.ySize(), ci.zSize(), uint_c( f + cell_idx_t(1) ) ); } @@ -572,7 +572,7 @@ namespace field { return ForwardFieldIterator<const T,fSize_>( this, ci.xMin(),ci.yMin(), ci.zMin(), f, - ci.xSize(), ci.ySize(), ci.zSize(), uint_c(f+1) ); + ci.xSize(), ci.ySize(), ci.zSize(), uint_c( f + cell_idx_t(1) ) ); } //*******************************************************************************************************************