From 1bed2c877a4c3e5c288665cdace2fbd686fe5461 Mon Sep 17 00:00:00 2001 From: conrad Date: Tue, 27 Apr 2021 12:31:19 +1000 Subject: [PATCH] add debugging messages --- include/armadillo_bits/Mat_meat.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/armadillo_bits/Mat_meat.hpp b/include/armadillo_bits/Mat_meat.hpp index febb912a..1b2cca69 100644 --- a/include/armadillo_bits/Mat_meat.hpp +++ b/include/armadillo_bits/Mat_meat.hpp @@ -70,6 +70,7 @@ Mat::Mat(const uword in_n_rows, const uword in_n_cols) init_cold(); + arma_extra_debug_print("Mat::constructor: zeroing memory"); arrayops::fill_zeros(memptr(), n_elem); } @@ -90,6 +91,7 @@ Mat::Mat(const SizeMat& s) init_cold(); + arma_extra_debug_print("Mat::constructor: zeroing memory"); arrayops::fill_zeros(memptr(), n_elem); }