Attempt to fix TBB issue

release/4.3a0
cbeall3 2015-10-26 22:14:52 -04:00
parent 35b6986d32
commit 66e1619214
1 changed files with 11 additions and 0 deletions

View File

@ -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);