diff --git a/src/utility/lib/continuousDistribution.js b/src/utility/lib/continuousDistribution.js index 9c80d19d..8ae8a813 100644 --- a/src/utility/lib/continuousDistribution.js +++ b/src/utility/lib/continuousDistribution.js @@ -7,12 +7,6 @@ class ContinuousDistribution { * @param {number[]} ys */ constructor(xs, ys) { - if (!_.isArray(xs)) { - throw new Error('XS should be an array.'); - } - if (!_.isArray(ys)) { - throw new Error('YS should be an array.'); - } if (!this.validateHasLength(xs)) { throw new Error('You need at least one element.'); }