@@ -979,17 +979,17 @@ private FloatMask applyWithOffset(FloatMask other, BiIntFloatConsumer action, in
979
979
int smallerSize = StrictMath .min (size , otherSize );
980
980
int biggerSize = StrictMath .max (size , otherSize );
981
981
if (smallerSize == otherSize ) {
982
- Map <Integer , Integer > coordinateXMap = getShiftedCoordinateMap (xOffset , center , wrapEdges ,
983
- otherSize , size );
984
- Map <Integer , Integer > coordinateYMap = getShiftedCoordinateMap (yOffset , center , wrapEdges ,
985
- otherSize , size );
986
- other .apply ((x , y ) -> {
987
- int shiftX = coordinateXMap .get (x );
988
- int shiftY = coordinateYMap .get (y );
989
- if (inBounds (shiftX , shiftY , size )) {
990
- action .accept (shiftX , shiftY , other .getPrimitive (x , y ));
991
- }
992
- });
982
+ Map <Integer , Integer > coordinateXMap = getShiftedCoordinateMap (xOffset , center , wrapEdges ,
983
+ otherSize , size );
984
+ Map <Integer , Integer > coordinateYMap = getShiftedCoordinateMap (yOffset , center , wrapEdges ,
985
+ otherSize , size );
986
+ other .apply ((x , y ) -> {
987
+ int shiftX = coordinateXMap .get (x );
988
+ int shiftY = coordinateYMap .get (y );
989
+ if (inBounds (shiftX , shiftY , size )) {
990
+ action .accept (shiftX , shiftY , other .getPrimitive (x , y ));
991
+ }
992
+ });
993
993
} else {
994
994
Map <Integer , Integer > coordinateXMap = getShiftedCoordinateMap (xOffset , center , wrapEdges , size ,
995
995
otherSize );
0 commit comments