make ERFilter compile with refactored ml
Merge pull request #48 from vpisarev/refactor_ml2

make ERFilter compile with refactored ml