Fixed formatting from the previous commit. The previous commit fixed a bug where the distribution would be sent to foretold inverted
This commit is contained in:
parent
96645334be
commit
433780186b
|
@ -347,9 +347,6 @@ module Draw = {
|
||||||
CanvasContext.font(context, "16px Roboto");
|
CanvasContext.font(context, "16px Roboto");
|
||||||
CanvasContext.lineWidth(context, 2.0);
|
CanvasContext.lineWidth(context, 2.0);
|
||||||
|
|
||||||
CanvasContext.font(context, "16px Roboto");
|
|
||||||
CanvasContext.lineWidth(context, 2.0);
|
|
||||||
|
|
||||||
let numIntervals = 10;
|
let numIntervals = 10;
|
||||||
let width = float_of_int(rectangle.width);
|
let width = float_of_int(rectangle.width);
|
||||||
let height = float_of_int(rectangle.height);
|
let height = float_of_int(rectangle.height);
|
||||||
|
@ -675,7 +672,7 @@ module State = {
|
||||||
~intendedSum=1.0,
|
~intendedSum=1.0,
|
||||||
pdf,
|
pdf,
|
||||||
);
|
);
|
||||||
Js.log(_pdf);
|
|
||||||
let cdf = Distributions.Continuous.T.integral(~cache=None, _pdf);
|
let cdf = Distributions.Continuous.T.integral(~cache=None, _pdf);
|
||||||
let xs = [||];
|
let xs = [||];
|
||||||
let ys = [||];
|
let ys = [||];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user