Skip to content

Commit

Permalink
refactor(reduce): minor typing clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
tysmith committed Oct 2, 2024
1 parent bc85b34 commit ecb7c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grizzly/reduce/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ def run(
result.report.minor in other_results
)

is_smaller = None
is_smaller = False
if other_result_exists:
# we have a result already queued for this sig
# check size to see which to keep
Expand All @@ -609,7 +609,7 @@ def run(
old_size = sum(
tc.data_size for tc in old_reduction
)
is_smaller = bool(reduction_size < old_size)
is_smaller = reduction_size < old_size

if not other_result_exists or is_smaller:
if other_result_exists:
Expand Down

0 comments on commit ecb7c7d

Please sign in to comment.