From f79da27deb4f9a7a5d3427ffe716ca7bd564c0f2 Mon Sep 17 00:00:00 2001 From: Omar Shrit Date: Sat, 27 Jan 2024 16:26:43 +0100 Subject: [PATCH] Update src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp Co-authored-by: Ryan Curtin --- src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp b/src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp index 1a4fc283cf..db478d542e 100644 --- a/src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp +++ b/src/mlpack/methods/ann/convolution_rules/svd_convolution.hpp @@ -70,8 +70,7 @@ class SVDConvolution // Rank approximation using the singular values calculated with singular // value decomposition of dense filter matrix. - const size_t rank = sum(s > (s.n_elem * arma::max(s) * - arma::datum::eps)); + const size_t rank = sum(s > (s.n_elem * arma::max(s) * arma::datum::eps)); // Test for separability based on the rank of the kernel and take // advantage of the low rank.