From 4d5fe67d837e4f1a11dfb33fbfb36807f2fc59df Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Fri, 27 Sep 2019 17:01:12 +0200 Subject: [PATCH] fix vec constructor from point and make explicit --- libsrc/gprim/geomobjects.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libsrc/gprim/geomobjects.hpp b/libsrc/gprim/geomobjects.hpp index 280cb523..185da070 100644 --- a/libsrc/gprim/geomobjects.hpp +++ b/libsrc/gprim/geomobjects.hpp @@ -101,9 +101,8 @@ namespace netgen explicit Vec (const Point & p) { for (int i = 0; i < D; i++) x[i] = p(i); } - Vec (const Vec & p1, const Vec & p2) - { for(int i=0; i& p1, const Point& p2) + { for(int i=0; i Vec & operator= (const Vec & p2)