Closed traversaro closed 9 years ago
What happens if instead of
Eigen::Ref<Eigen::VectorXd> minLimits
you use
Eigen::VectorXd &minLimits
(in the function prototype)? I'm not so happy of leaving direct access to members. Anyway @jeljaik has the last word on this.
I think it fails because you pass to the function two Eigen::Map<Eigen::Matrix<real_T, Eigen::Dynamic, 1> >
elements.
Just fixed the public members problem.
+1
BTW: I think it was like it is now at the beginning. Then I changed it to use Ref. I don't remember why.
@jeljaik can we merge?
Thanks man!
cc @jeljaik @francesco-romano ugly hack, but it was to get it working. Feel free to improve.