mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-06-13 14:48:54 +02:00
Merge 4fe94e9851
into 138bb51997
This commit is contained in:
commit
4af2511614
|
@ -36,11 +36,7 @@ object ShimUtils {
|
|||
val missingFeatures: Set[Feature[_]] = rule.featureDependencies.collect {
|
||||
case feature: Feature[_] if !featureMap.contains(feature) => feature
|
||||
}
|
||||
if (missingFeatures.isEmpty) {
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
missingFeatures.isEmpty
|
||||
})
|
||||
|
||||
val afterPreFilterRules = afterMissingFeatureRules.filter(rule => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user