Skip to content
Snippets Groups Projects
Commit acb70a7c authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

explicit cast to get rid of a signed/unsigned warning

[[Imported from SVN: r8652]]
parent 596180ee
Branches
Tags
No related merge requests found
...@@ -182,7 +182,7 @@ get_bounds_info(Ipopt::Index n, Ipopt::Number* x_l, Ipopt::Number* x_u, ...@@ -182,7 +182,7 @@ get_bounds_info(Ipopt::Index n, Ipopt::Number* x_l, Ipopt::Number* x_u,
{ {
// here, the n and m we gave IPOPT in get_nlp_info are passed back to us. // here, the n and m we gave IPOPT in get_nlp_info are passed back to us.
// If desired, we could assert to make sure they are what we think they are. // If desired, we could assert to make sure they are what we think they are.
assert(n == x_->dim()); assert(n == (Ipopt::Index)x_->dim());
assert(m == 0); assert(m == 0);
if (obstacles_) { if (obstacles_) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment