Skip to content

Commit

Permalink
coverge
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsilver committed Dec 15, 2023
1 parent 213c10b commit aa49f5c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions predicators/approaches/active_sampler_learning_approach.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,9 +753,10 @@ def _wrap_object_specific_samplers_with_epsilon(
base_sampler: NSRTSampler,
) -> NSRTSamplerWithEpsilonIndicator:

def _wrapped_sampler(state: State, goal: Set[GroundAtom],
rng: np.random.Generator,
objects: Sequence[Object]) -> Tuple[Array, bool]:
def _wrapped_sampler(
state: State, goal: Set[GroundAtom], rng: np.random.Generator,
objects: Sequence[Object]
) -> Tuple[Array, bool]: # pragma: no cover
objects_tuple = tuple(objects)
# If we haven't yet learned a object-specific sampler for these objects
# then use the base sampler. Treat the output as if it was greedy
Expand Down

0 comments on commit aa49f5c

Please sign in to comment.