Commit 63e76ebc authored by Olivier Stasse's avatar Olivier Stasse Committed by olivier stasse
Browse files

[matrix/operator] Fix bug #84

Use addBounds for the related command instead of addBounds.
parent e8b59d50
......@@ -115,9 +115,9 @@ namespace dynamicgraph {
doc = docCommandVoid2("Set the bound of the selection [m,M[.","int (min)","int (max)");
ADD_COMMAND( "selec", makeCommandVoid2(ent,setBound,doc) );
boost::function< void( const int&, const int& ) > addBound
= boost::bind( &VectorSelecter::setBounds,this,_1,_2 );
= boost::bind( &VectorSelecter::addBounds,this,_1,_2 );
doc = docCommandVoid2("Add a segment to be selected [m,M[.","int (min)","int (max)");
ADD_COMMAND( "addSelec", makeCommandVoid2(ent,setBound,doc) );
ADD_COMMAND( "addSelec", makeCommandVoid2(ent,addBound,doc) );
}
VectorSelecter () : size (0) {}
};
......
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