Unverified Commit 6ba84c4a authored by Justin Carpentier's avatar Justin Carpentier Committed by GitHub
Browse files

Merge pull request #1536 from rubengrandia/fix/copy_supports_in_model_cast

make copy of supports during model cast
parents 364f5734 4cf696fd
......@@ -203,6 +203,7 @@ namespace pinocchio
res.nframes = nframes;
res.parents = parents;
res.names = names;
res.supports = supports;
res.subtrees = subtrees;
res.gravity = gravity.template cast<NewScalar>();
res.name = name;
......
Supports Markdown
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