diff --git a/include/armadillo_bits/Mat_meat.hpp b/include/armadillo_bits/Mat_meat.hpp index 4cb8d765..cb92ffde 100644 --- a/include/armadillo_bits/Mat_meat.hpp +++ b/include/armadillo_bits/Mat_meat.hpp @@ -7830,7 +7830,7 @@ Mat::save(const csv_name& spec, const file_type type) const if(spec.header_ro.n_elem != save_n_cols) { - arma_debug_warn_level(1, "Mat::save(): size mistmach between header and matrix"); + arma_debug_warn_level(1, "Mat::save(): size mismatch between header and matrix"); return false; } } @@ -8114,7 +8114,7 @@ Mat::load(const csv_name& spec, const file_type type) if(with_header && (spec.header_rw.n_elem != load_n_cols)) { - arma_debug_warn_level(3, "Mat::load(): size mistmach between header and matrix"); + arma_debug_warn_level(3, "Mat::load(): size mismatch between header and matrix"); } } diff --git a/include/armadillo_bits/SpMat_meat.hpp b/include/armadillo_bits/SpMat_meat.hpp index 0ce91527..b8d51cf6 100644 --- a/include/armadillo_bits/SpMat_meat.hpp +++ b/include/armadillo_bits/SpMat_meat.hpp @@ -4609,7 +4609,7 @@ SpMat::save(const csv_name& spec, const file_type type) const if(spec.header_ro.n_elem != save_n_cols) { - arma_debug_warn_level(1, "SpMat::save(): size mistmach between header and matrix"); + arma_debug_warn_level(1, "SpMat::save(): size mismatch between header and matrix"); return false; } } @@ -4808,7 +4808,7 @@ SpMat::load(const csv_name& spec, const file_type type) if(with_header && (spec.header_rw.n_elem != load_n_cols)) { - arma_debug_warn_level(3, "SpMat::load(): size mistmach between header and matrix"); + arma_debug_warn_level(3, "SpMat::load(): size mismatch between header and matrix"); } }