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 authored and RalphSteinhagen committed Jun 26, 2024
1 parent ef696f3 commit f7a8c08
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 f7a8c08

Please sign in to comment.