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:
Nuno Sempere 2020-05-26 16:40:02 +02:00
parent 96645334be
commit 433780186b

View File

@ -347,9 +347,6 @@ module Draw = {
CanvasContext.font(context, "16px Roboto");
CanvasContext.lineWidth(context, 2.0);
CanvasContext.font(context, "16px Roboto");
CanvasContext.lineWidth(context, 2.0);
let numIntervals = 10;
let width = float_of_int(rectangle.width);
let height = float_of_int(rectangle.height);
@ -675,7 +672,7 @@ module State = {
~intendedSum=1.0,
pdf,
);
Js.log(_pdf);
let cdf = Distributions.Continuous.T.integral(~cache=None, _pdf);
let xs = [||];
let ys = [||];