mirror of
https://github.com/wassname/jaxtyping.git
synced 2026-09-13 12:40:59 +08:00
Symbolic expressions now support delayed binding to arguments. Fixes #93.
This commit is contained in:
@@ -88,6 +88,8 @@ def test_context(getkey):
|
||||
with jaxtyped("context"):
|
||||
assert isinstance(a, Float[Array, "foo bar"])
|
||||
assert not isinstance(b, Float[Array, "foo"])
|
||||
assert isinstance(a, Float[Array, "foo bar"])
|
||||
assert isinstance(b, Float[Array, "foo"])
|
||||
|
||||
|
||||
def test_varargs(jaxtyp, typecheck):
|
||||
|
||||
Reference in New Issue
Block a user