Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
maffettone committed Dec 13, 2023
1 parent 6990453 commit df285c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf_agents/sklearn.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def ask(self, batch_size=1):
suggestions = [suggestions]
# Keep non redundant suggestions and add to knowledge cache
for suggestion in suggestions:
hashable_suggestion = make_hashable(discretize(suggestion, self.min_step_size))
hashable_suggestion = make_hashable(discretize(suggestion, self.motor_resolution))
if hashable_suggestion in self.knowledge_cache:
logger.info(
f"Suggestion {suggestion} is ignored as already in the knowledge cache: {hashable_suggestion}"
Expand Down

0 comments on commit df285c8

Please sign in to comment.