Skip to content

Commit

Permalink
DefaultAxisTransform: fix autoscale rounding direction
Browse files Browse the repository at this point in the history
  • Loading branch information
protogenes committed Jun 26, 2024
1 parent ef696f3 commit 154dd1f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ public double forward(final double val) {

@Override
public double getRoundedMaximumRange(final double max) {
return Math.floor(max);
return Math.ceil(max);
}

@Override
public double getRoundedMinimumRange(final double min) {
return Math.ceil(min);
return Math.floor(min);
}
}

0 comments on commit 154dd1f

Please sign in to comment.