Skip to content

Commit

Permalink
refactor: raw data length -1
Browse files Browse the repository at this point in the history
  • Loading branch information
sugrado committed Jun 22, 2024
1 parent 8c39957 commit 01524bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v1/src/services/distributionCurves.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const calculateDistributionCurves = async (
sortRes[0].chiSquareTestResult.expected;
Sources[source][chart].ungenerated = rawData.slice(
0,
rawData.length - 2 // TODO: fix this shit
rawData.length - 1 // TODO: fix this shit
);
}
}
Expand Down

0 comments on commit 01524bb

Please sign in to comment.