Commit dc5ce593 by Jason Rhinelander

Use move assignment for eigen ref copy

This won't affect much, but makes the code consistent with the
non-copying branch.
parent 139a082b
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment