Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify Data class methods semantics #97

Closed
traversaro opened this issue May 20, 2021 · 1 comment
Closed

Clarify Data class methods semantics #97

traversaro opened this issue May 20, 2021 · 1 comment

Comments

@traversaro
Copy link
Member

Content to be added, opening it just as a remainder.

@traversaro
Copy link
Member Author

This is already documented:

         * @note the elements of the lowerBound and upperBound are not copied inside the library.
         * The user has to guarantee that the lifetime of the objects passed is the same of the
         * OsqpEigen object

I was affected by a bug in which I was passing a temporary Eigen vector to setBounds in robotology/wb-toolbox#209, but apparently this is correctly document, even if a bit surprising, but I guess the copies are avoided for performances reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant