Skip to content

Commit

Permalink
LimitedIndexedTreeDataSet: fix yErrors
Browse files Browse the repository at this point in the history
Fixes a small typo bug that would initialize tze yErrors with the
yValues instead of the supplied yValues.

Thanks to @zanzica for finding and repoting this.
  • Loading branch information
wirew0rm authored and RalphSteinhagen committed Jan 30, 2024
1 parent ed86318 commit fac84bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ public LimitedIndexedTreeDataSet set(final double[] xValues, final double[] yVal
final double x = xValues[i];
final double y = yValues[i];
final double dx = xErrors[i];
final double dy = yValues[i];
final double dy = yErrors[i];
getAxisDescription(DIM_X).add(x - dx);
getAxisDescription(DIM_X).add(x + dx);
getAxisDescription(DIM_Y).add(y - dy);
Expand Down

0 comments on commit fac84bf

Please sign in to comment.