Skip to content

Commit

Permalink
Fix error in Armadillo v14
Browse files Browse the repository at this point in the history
  • Loading branch information
koheiw committed Jun 25, 2024
1 parent 6763fbe commit 5f79363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<arma::vec>::from(temp);
arma::mat mt = arma::conv_to<arma::mat>::from(temp);
mt.reshape(col, row);
mt = mt.t();
return mt;
Expand Down

0 comments on commit 5f79363

Please sign in to comment.