| … | … | @@ -26,7 +26,7 @@ |
| 26 | 26 | #include <opencog/util/random.h> |
| 27 | 27 | #include <opencog/util/algorithm.h> |
| 28 | 28 | #include <opencog/unify/Unify.h> |
| 29 | | #include <opencog/atoms/core/FilterLink.h> |
| 29 | #include <opencog/atoms/core/MapLink.h> |
| 30 | 30 | |
| 31 | 31 | #include "../MixtureModel.h" |
| 32 | 32 | #include "../ActionSelection.h" |
| … | … | @@ -322,7 +322,7 @@ bool ControlPolicy::match(const Handle& pattern, const Handle& term, |
| 322 | 322 | impl = tmp_as.add_link(IMPLICATION_SCOPE_LINK, |
| 323 | 323 | vardecl, pattern, rewrite), |
| 324 | 324 | tmp_term = tmp_as.add_atom(term), |
| 325 | | result = HandleCast(FilterLink(impl, tmp_term).execute(&tmp_as, false)); |
| 325 | result = HandleCast(MapLink(impl, tmp_term).execute(&tmp_as, false)); |
| 326 | 326 | |
| 327 | 327 | return (SET_LINK != result->get_type()) or (result->get_arity() != 0); |
| 328 | 328 | } |