Skip to content

Commit

Permalink
Merge pull request #4554 from snappizz/cherry-pick/4510
Browse files Browse the repository at this point in the history
Cherrypick #4510
  • Loading branch information
mossheim authored Aug 28, 2019
2 parents 8641780 + bb972dd commit f6c600b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCClassLibrary/Common/GUI/PlusGUI/Math/PlotView.sc
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Plot {
0.5.dup(size) // put the values in the middle of the plot
} {
domainSpec.unmap(
(domainSpec.minval, domainSpec.minval + (range / (size-1)) .. domainSpec.maxval)
Array.interpolation(size, domainSpec.minval, domainSpec.maxval)
);
}
};
Expand Down

0 comments on commit f6c600b

Please sign in to comment.