Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
sot-core
Commits
63e76ebc
Commit
63e76ebc
authored
May 07, 2019
by
Olivier Stasse
Committed by
olivier stasse
May 10, 2019
Browse files
[matrix/operator] Fix bug #84
Use addBounds for the related command instead of addBounds.
parent
e8b59d50
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/matrix/operator.cpp
View file @
63e76ebc
...
...
@@ -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
::
set
Bounds
,
this
,
_1
,
_2
);
=
boost
::
bind
(
&
VectorSelecter
::
add
Bounds
,
this
,
_1
,
_2
);
doc
=
docCommandVoid2
(
"Add a segment to be selected [m,M[."
,
"int (min)"
,
"int (max)"
);
ADD_COMMAND
(
"addSelec"
,
makeCommandVoid2
(
ent
,
set
Bound
,
doc
)
);
ADD_COMMAND
(
"addSelec"
,
makeCommandVoid2
(
ent
,
add
Bound
,
doc
)
);
}
VectorSelecter
()
:
size
(
0
)
{}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment