Skip to content

Commit

Permalink
Merge pull request #155 from Jammy2211/feature/wrapper_fix
Browse files Browse the repository at this point in the history
fix issue causing ndarray to not be a type when accessed via jax wrapper
  • Loading branch information
rhayes777 authored Dec 16, 2024
2 parents 28de257 + bae9503 commit e7a66fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autoarray/numpy_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ def __getattr__(self, item):
return Callable(attribute)
return attribute

@property
def ndarray(self):
return np.ndarray


use_jax = environ.get("USE_JAX", "0") == "1"

Expand Down

0 comments on commit e7a66fe

Please sign in to comment.