From 9020cd92c149278f7c008bf4e33c83838b1e8542 Mon Sep 17 00:00:00 2001 From: conrad Date: Mon, 2 May 2022 16:15:47 +1000 Subject: [PATCH] simplify lyout --- include/armadillo_bits/SpMat_meat.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/armadillo_bits/SpMat_meat.hpp b/include/armadillo_bits/SpMat_meat.hpp index 644f1e5b..edf78fe5 100644 --- a/include/armadillo_bits/SpMat_meat.hpp +++ b/include/armadillo_bits/SpMat_meat.hpp @@ -3842,10 +3842,7 @@ SpMat::resize(const uword in_rows, const uword in_cols) { arma_extra_debug_sigprint(); - if( (n_rows == in_rows) && (n_cols == in_cols) ) - { - return; - } + if( (n_rows == in_rows) && (n_cols == in_cols) ) { return; } if( (n_elem == 0) || (n_nonzero == 0) ) {