Closed dondondooooon closed 3 years ago
Try using double quotes (") instead of single quotes ('). In Python it doesn't matter, but in C++ it does. In C++ a single quote implies a character constant (https://www.tutorialspoint.com/What-are-Cplusplus-Character-Constants) -- see the warning message just before the error message.
I wrote
arma_eigvec.save('armavec.bin');
where arma_eigvec is type arma::mat.