NRVec from list constructor made explicit
This commit is contained in:
parent
40dadb63e8
commit
2ff6ded164
2
vec.h
2
vec.h
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user