"vscode:/vscode.git/clone" did not exist on "c2d3e220bd1bfcf664e29d95ac2ed774fd6723f4"
Commit dc5ce593 authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

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