Commit c9dbc705 authored by David Bommes's avatar David Bommes

added resize function

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@111 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();
......
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