Properly handle basis in Unit3::operator=
If the basis was already cached we reset it to the cached basis of `u`.release/4.3a0
parent
7486ed7993
commit
bc7f5e6da7
|
|
@ -90,6 +90,8 @@ public:
|
|||
/// Copy assignment
|
||||
Unit3& operator=(const Unit3 & u) {
|
||||
p_ = u.p_;
|
||||
B_ = u.B_;
|
||||
H_B_ = u.H_B_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue