Skip to content

Commit

Permalink
Comment out unnecessary assert
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Feb 19, 2024
1 parent 5ebb123 commit 8ae5b4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaxfg/core/_factor_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def build_variable_value_tuple(
) from e

# Function should be hinted with a tuple of some kind, but not `tuple` itself
assert issubclass(value_type, tuple), value_type is not tuple
# assert issubclass(value_type, tuple), value_type is not tuple

# Heuristic: evaluates to `True` for NamedTuple types but `False` for
# `Tuple[...]` types. Note that standard superclass checking approaches don't
Expand Down

0 comments on commit 8ae5b4f

Please sign in to comment.