diff --git a/include/armadillo_bits/fn_randperm.hpp b/include/armadillo_bits/fn_randperm.hpp index 7157d172..6713bfd0 100644 --- a/include/armadillo_bits/fn_randperm.hpp +++ b/include/armadillo_bits/fn_randperm.hpp @@ -37,7 +37,7 @@ internal_randperm_helper(obj_type& x, const uword N, const uword N_keep) std::vector packet_vec(N); - podarray tmp(N, arma_nozeros_indicator()); + podarray tmp(N); int* tmp_mem = tmp.memptr(); diff --git a/include/armadillo_bits/op_mean_meat.hpp b/include/armadillo_bits/op_mean_meat.hpp index 662a62c6..7589721d 100644 --- a/include/armadillo_bits/op_mean_meat.hpp +++ b/include/armadillo_bits/op_mean_meat.hpp @@ -237,7 +237,7 @@ op_mean::apply_noalias(Cube& out, const Cube& X, const uword dim) if(out.internal_has_nonfinite()) { - podarray tmp(X_n_slices, arma_nozeros_indicator()); + podarray tmp(X_n_slices); for(uword col=0; col < X_n_cols; ++col) for(uword row=0; row < X_n_rows; ++row) diff --git a/include/armadillo_bits/op_shuffle_meat.hpp b/include/armadillo_bits/op_shuffle_meat.hpp index edaff712..f3092dd8 100644 --- a/include/armadillo_bits/op_shuffle_meat.hpp +++ b/include/armadillo_bits/op_shuffle_meat.hpp @@ -40,7 +40,7 @@ op_shuffle::apply_direct(Mat& out, const Mat& X, const uword dim) std::vector packet_vec(N); - podarray tmp(N, arma_nozeros_indicator()); + podarray tmp(N); int* tmp_mem = tmp.memptr(); diff --git a/include/armadillo_bits/subview_elem1_meat.hpp b/include/armadillo_bits/subview_elem1_meat.hpp index b74646e2..ee3ebf52 100644 --- a/include/armadillo_bits/subview_elem1_meat.hpp +++ b/include/armadillo_bits/subview_elem1_meat.hpp @@ -485,7 +485,7 @@ subview_elem1::randu() const uword* aa_mem = aa.memptr(); const uword aa_n_elem = aa.n_elem; - podarray tmp(aa_n_elem, arma_nozeros_indicator()); + podarray tmp(aa_n_elem); eT* tmp_mem = tmp.memptr(); @@ -526,7 +526,7 @@ subview_elem1::randn() const uword* aa_mem = aa.memptr(); const uword aa_n_elem = aa.n_elem; - podarray tmp(aa_n_elem, arma_nozeros_indicator()); + podarray tmp(aa_n_elem); eT* tmp_mem = tmp.memptr(); diff --git a/include/armadillo_bits/subview_elem2_meat.hpp b/include/armadillo_bits/subview_elem2_meat.hpp index 3d215a06..6d25c7b8 100644 --- a/include/armadillo_bits/subview_elem2_meat.hpp +++ b/include/armadillo_bits/subview_elem2_meat.hpp @@ -331,7 +331,7 @@ subview_elem2::randu() const uword* ci_mem = ci.memptr(); const uword ci_n_elem = ci.n_elem; - podarray tmp(ri_n_elem, arma_nozeros_indicator()); + podarray tmp(ri_n_elem); eT* tmp_mem = tmp.memptr(); @@ -394,7 +394,7 @@ subview_elem2::randu() const uword* ri_mem = ri.memptr(); const uword ri_n_elem = ri.n_elem; - podarray tmp(ri_n_elem, arma_nozeros_indicator()); + podarray tmp(ri_n_elem); eT* tmp_mem = tmp.memptr(); @@ -448,7 +448,7 @@ subview_elem2::randn() const uword* ci_mem = ci.memptr(); const uword ci_n_elem = ci.n_elem; - podarray tmp(ri_n_elem, arma_nozeros_indicator()); + podarray tmp(ri_n_elem); eT* tmp_mem = tmp.memptr(); @@ -511,7 +511,7 @@ subview_elem2::randn() const uword* ri_mem = ri.memptr(); const uword ri_n_elem = ri.n_elem; - podarray tmp(ri_n_elem, arma_nozeros_indicator()); + podarray tmp(ri_n_elem); eT* tmp_mem = tmp.memptr();