NRVec from list constructor made explicit

This commit is contained in:
Jiri Pittner 2022-06-09 20:51:09 +02:00
parent 40dadb63e8
commit 2ff6ded164

2
vec.h
View File

@ -142,7 +142,7 @@ public:
inline NRVec(const NRVec &rhs); inline NRVec(const NRVec &rhs);
//! constructor from std::list //! constructor from std::list
NRVec(const std::list<T> l); explicit NRVec(const std::list<T> l);
//! complexifying constructor //! complexifying constructor
NRVec(const typename LA_traits_complex<T>::NRVec_Noncomplex_type &rhs, bool imagpart=false);//construct complex from real NRVec(const typename LA_traits_complex<T>::NRVec_Noncomplex_type &rhs, bool imagpart=false);//construct complex from real