I am using the 64-bit compiler MSVC2013 under Windows 10.
In accordance with:
std::cout << arma::arma_version::as_string() << std::endl;
I have version 6.100.1 (Midnight Blue) of the Armadillio library.
I have C ++ 11 enabled, e.g.
auto il = { 10, 20, 30 }; for(auto ele : il) cout<<ele<<endl;
works. Also, the library is correctly added, as the following code is executed:
vec v; v<<10<<20<<30; cout<<v;
But the attempt to use initialization lists for Armadillio failed.
vec v = { 1.0, 2.0, 3.0 };
causes a compilation error:
error: C2440: 'initializing': cannot convert from 'initializer-list' to 'arma :: Col' The constructor cannot use the source type, or the resolution of the constructor overload was ambiguous.
source share