Commit 8638f8c1 authored by David Bommes's avatar David Bommes
Browse files

fixed type issue

git-svn-id: 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent bd2a5ca4
...@@ -45,7 +45,7 @@ int LinearConstraint::n_unknowns() ...@@ -45,7 +45,7 @@ int LinearConstraint::n_unknowns()
void LinearConstraint::resize(const unsigned int _n) void LinearConstraint::resize(const unsigned int _n)
{ {
if(coeffs_.innerSize() != _n) if(coeffs_.innerSize() != (int)_n)
{ {
// resize while maintaining all values in range // resize while maintaining all values in range
SVectorNC coeffs_new(_n); SVectorNC coeffs_new(_n);
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