Skip to content

Commit

Permalink
hotfix: application crashed or delayed response due to log of several…
Browse files Browse the repository at this point in the history
… datasets
  • Loading branch information
nikolas-virionis committed Dec 2, 2021
1 parent d6fafee commit a75cfe7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ class LinearModelOverTime {
*/
static getMedian(dataset) {
dataset = dataset.sort((a, b) => a - b);
console.log(dataset);
if (dataset.length % 2 === 0) {
return LinearModelOverTime.getMean([
dataset[dataset.length / 2 - 1],
Expand Down

0 comments on commit a75cfe7

Please sign in to comment.