Skip to content

Commit

Permalink
Merge pull request #2 from driftlesslabs/main
Browse files Browse the repository at this point in the history
drop duplicated code from merge problem
  • Loading branch information
jpn-- authored Jan 9, 2024
2 parents 0aff27a + 63a61c8 commit 9d21f4e
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions sharrow/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -1338,26 +1338,6 @@ def init_sub_funcs(
other_way = True
# at least one variable was found in a fallback
break
if not other_way and "get" in expr:
# any remaining "get" expressions with defaults should now use them
try:
expr = expression_for_numba(
expr,
spacename,
dim_slots,
dim_slots,
digital_encodings=digital_encodings,
extra_vars=self.tree.extra_vars,
blenders=blenders,
bool_wrapping=self.bool_wrapping,
get_default=True,
)
except KeyError as err: # noqa: F841
pass
else:
other_way = True
# at least one variable was found in a get
break
if not other_way and "get" in expr:
# any remaining "get" expressions with defaults should now use them
try:
Expand Down

0 comments on commit 9d21f4e

Please sign in to comment.