Use move assignment for eigen ref copy

This won't affect much, but makes the code consistent with the
non-copying branch.
This commit is contained in:
Jason Rhinelander 2017-03-13 12:49:10 -03:00
parent 139a082b0e
commit dc5ce5930f

View File

@ -435,7 +435,7 @@ public:
fits = props::conformable(copy);
if (!fits || !fits.template stride_compatible<props>())
return false;
copy_or_ref = copy;
copy_or_ref = std::move(copy);
}
ref.reset();