Addition of vector of static vectors and its RealType static vector
This code does not compile. The compiler tries to use StaticExpressionTemplate
, thus it fails.
TNL::Containers::Vector<TNL::Containers::StaticVector<3,double>, TNL::Devices::Host, size_t> Tvec;
Tvec.setSize(1);
Tvec = TNL::Containers::StaticVector<3,double>{1,2,3};
TNL::Containers::StaticVector<3,double>svec{5,6,7};
Tvec = (2*Tvec) + svec;