From 2ff6ded164f518752b462d1f9838158fede3d1a1 Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Thu, 9 Jun 2022 20:51:09 +0200 Subject: [PATCH] NRVec from list constructor made explicit --- vec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vec.h b/vec.h index bac7dec..478e048 100644 --- a/vec.h +++ b/vec.h @@ -142,7 +142,7 @@ public: inline NRVec(const NRVec &rhs); //! constructor from std::list - NRVec(const std::list l); + explicit NRVec(const std::list l); //! complexifying constructor NRVec(const typename LA_traits_complex::NRVec_Noncomplex_type &rhs, bool imagpart=false);//construct complex from real