From a0d7f45f27f422a70ab3071d76610ac552d335c2 Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Wed, 6 Dec 2023 15:13:25 +0100 Subject: [PATCH] chore: remove todo comment from test --- tests/standardize.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/standardize.cpp b/tests/standardize.cpp index 79b2f9a..eeffab3 100644 --- a/tests/standardize.cpp +++ b/tests/standardize.cpp @@ -33,7 +33,6 @@ computeMeanAndStdDev(const Eigen::SparseMatrix& x) for (int j = 0; j < p; ++j) { x_means(j) = x.col(j).sum() / n; - // TODO: Reconsider this implementation since it might overflow. x_stddevs(j) = std::sqrt(x.col(j).squaredNorm() / n - std::pow(x_means(j), 2)); }