Skip to content

Commit e8dd658

Browse files
author
Frankie Robertson
committed
Fix get_ability(...) to conform to Stateful interface
1 parent 82af61a commit e8dd658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stateful.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function get_responses(config::StatefulCatConfig)
104104
end
105105

106106
function get_ability(config::StatefulCatConfig)
107-
return config.rules.ability_estimator(config.tracked_responses)
107+
return (config.rules.ability_estimator(config.tracked_responses), nothing)
108108
end
109109

110110
## TODO: Implementation for MaterializedDecisionTree

0 commit comments

Comments
 (0)