Skip to content

Commit 4a17174

Browse files
author
Benjamin Chrétien
committed
Rename filter to operator/decorator.
1 parent b033997 commit 4a17174

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/wrap.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2957,7 +2957,7 @@ static PyMethodDef RobOptimCoreMethods[] =
29572957
createFDWrapper<FiniteDifferenceGradient<fivePointsPolicy_t> >,
29582958
METH_VARARGS, "Create a FiniteDifferenceGradient with the 5-point rule."},
29592959

2960-
// Filters
2960+
// Decorators
29612961
{"CachedFunction", createCachedFunction, METH_VARARGS,
29622962
"Create a cached function."},
29632963

src/wrap.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
#include <roboptim/core/callback/multiplexer.hh>
3131

32-
#include <roboptim/core/filter/cached-function.hh>
32+
#include <roboptim/core/decorator/cached-function.hh>
3333

3434
#include <roboptim/core/detail/utility.hh>
3535

0 commit comments

Comments
 (0)