Skip to content

Commit 12fedc6

Browse files
committed
Make the timers available in Python.
1 parent 136552f commit 12fedc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/tools/timer.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ using namespace dynamicgraph;
3737

3838
typedef Timer<dynamicgraph::Vector> timevect;
3939
template <>
40-
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timevect,"Timer<Vector>");
40+
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timevect,"TimerVector");
4141

4242
typedef Timer<dynamicgraph::Matrix> timematrix;
4343
template <>
44-
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timematrix,"Timer<Matrix>");
44+
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timematrix,"TimerMatrix");
4545

4646
typedef Timer<MatrixHomogeneous> timematrixhomo;
4747
template <>
48-
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timematrixhomo,"Timer<MatrixHomo>");
48+
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timematrixhomo,"TimerMatrixHomo");
4949

5050
typedef Timer<double> timedouble;
5151
template <>
52-
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timedouble,"Timer<double>");
52+
DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN(timedouble,"TimerDouble");
5353

5454

5555
/* --------------------------------------------------------------------- */

0 commit comments

Comments
 (0)