diff --git a/include/armadillo_bits/glue_times_meat.hpp b/include/armadillo_bits/glue_times_meat.hpp index 7d07d030..01c5bad1 100644 --- a/include/armadillo_bits/glue_times_meat.hpp +++ b/include/armadillo_bits/glue_times_meat.hpp @@ -590,11 +590,7 @@ glue_times::apply_inplace_plus(Mat& out, const Glue sword(0)) ? "addition" : "subtraction" ) ); - if(out.n_elem == 0) - { - return; - } - + if(out.n_elem == 0) { return; } if( (do_trans_A == false) && (do_trans_B == false) && (use_alpha == false) ) { @@ -704,12 +700,7 @@ glue_times::apply out.set_size(final_n_rows, final_n_cols); - if( (A.n_elem == 0) || (B.n_elem == 0) ) - { - out.zeros(); - return; - } - + if( (A.n_elem == 0) || (B.n_elem == 0) ) { out.zeros(); return; } if( (do_trans_A == false) && (do_trans_B == false) && (use_alpha == false) ) {