Removes future obsolete lines
This commit is contained in:
parent
8aafb2bb6e
commit
961db72adf
|
@ -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.');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user