Fixed lint error

This commit is contained in:
Jaap van Ekris 2024-01-09 21:20:30 +01:00 committed by GitHub
parent 8f75076c73
commit 804ab5e844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ function createTSQuadraticSeries (maxSeriesLength = 0) {
let i = 0
let j = 0
const linearResidu = createTSLinearSeries(maxSeriesLength)
switch (true) {
case (X.length() > 2):
// There are now at least three datapoints in the X and Y arrays, so let's calculate the A portion belonging for the new datapoint via Quadratic Theil-Sen regression