From 8ae5b4fdf47ede452666b3ad3ae0a34bbfc38b3c Mon Sep 17 00:00:00 2001 From: Brent Yi Date: Mon, 19 Feb 2024 01:21:20 -0800 Subject: [PATCH] Comment out unnecessary assert --- jaxfg/core/_factor_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jaxfg/core/_factor_base.py b/jaxfg/core/_factor_base.py index 617e482..617c03b 100644 --- a/jaxfg/core/_factor_base.py +++ b/jaxfg/core/_factor_base.py @@ -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