diff --git a/src/array.h b/src/array.h index 410836a..f80b676 100644 --- a/src/array.h +++ b/src/array.h @@ -63,7 +63,7 @@ class Array { for (std::size_t i = 0; i < data.size(); i++) { temp.insert(temp.end(), data[i].begin(), data[i].end()); } - arma::vec mt = arma::conv_to::from(temp); + arma::mat mt = arma::conv_to::from(temp); mt.reshape(col, row); mt = mt.t(); return mt;