From 66e1619214a1c1e79100b1231a60c5c30a3036b8 Mon Sep 17 00:00:00 2001 From: cbeall3 Date: Mon, 26 Oct 2015 22:14:52 -0400 Subject: [PATCH] Attempt to fix TBB issue --- gtsam/geometry/Unit3.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gtsam/geometry/Unit3.h b/gtsam/geometry/Unit3.h index b7d359f40..428211c6b 100644 --- a/gtsam/geometry/Unit3.h +++ b/gtsam/geometry/Unit3.h @@ -87,6 +87,17 @@ public: p_.normalize(); } + /// Copy constructor + Unit3(const Unit3& u) { + p_ = u.p_; + } + + /// Copy assignment + Unit3& operator=(const Unit3 & u) { + p_ = u.p_; + return *this; + } + /// Named constructor from Point3 with optional Jacobian static Unit3 FromPoint3(const Point3& point, // OptionalJacobian<2, 3> H = boost::none);