Commit c9dbc705 authored by David Bommes's avatar David Bommes
Browse files

added resize function

git-svn-id: 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent d93ac64e
......@@ -44,6 +44,11 @@ int LinearConstraint::n_unknowns()
return coeffs_.innerSize();
void LinearConstraint::resize(const unsigned int _n)
coeffs_.m_size = _n;
const LinearConstraint::SVectorNC& LinearConstraint::coeffs() const
return coeffs_;
......@@ -53,6 +53,8 @@ public:
virtual int n_unknowns();
void resize(const unsigned int _n);
const SVectorNC& coeffs() const;
SVectorNC& coeffs();
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