Skip to content

Commit

Permalink
Fix endless update loop in the presence of empty DataSet (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
pacher authored Nov 20, 2024
1 parent 05980c4 commit 8d15ad2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ protected void updateAxisRange(AxisRange range, int dim) {
}

protected void updateAxisRange(DataSet dataSet, AxisRange range, int dim) {
if (dataSet.getDataCount() == 0)
return;
var dsRange = dataSet.getAxisDescription(dim);
if (!dsRange.isDefined()) {
dataSet.recomputeLimits(dim);
Expand Down

0 comments on commit 8d15ad2

Please sign in to comment.