Skip to content

Commit a43d4e3

Browse files
authored
Merge pull request #168 from advieser/fix/hash
fix:: calculating hash
2 parents da037e1 + 19c5b2d commit a43d4e3

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Added `FilterUnivariateCox` (thanks to @bblodfon)
88
- Parameter value `na.rm` is properly initialized to `TRUE` (thanks to @bblodfon)
99
- Bugfix: property `missings` is now set correctly for `FilterFindCorrelation`
10+
- Bugfix: `$hash` now works for `Filter`s
1011

1112
# mlr3filters 0.7.1
1213

R/Filter.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,10 @@ Filter = R6Class("Filter",
229229
assert_ro_binding(rhs)
230230
calculate_hash(class(self), self$id, mget(private$.extra_hash, envir = self))
231231
}
232+
),
233+
234+
private = list(
235+
.extra_hash = character()
232236
)
233237
)
234238

0 commit comments

Comments
 (0)