Skip to content
Snippets Groups Projects
Commit c9dbc705 authored by David Bommes's avatar David Bommes
Browse files

added resize function

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@111 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent d93ac64e
Branches
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment