Skip to content

Commit e9c52c4

Browse files
committed
Add get_xp decorator to genericize the namespace for the aliases
I still need to factor out uses of 'np' in other places in the code. I'm also not completely sure about the solution for asarray(). asarray() can't just infer the namespace from the input like every other function can. For now, I have added a namespace keyword argument to it, which defaults to numpy.
1 parent 9f2afe8 commit e9c52c4

File tree

3 files changed

+183
-77
lines changed

3 files changed

+183
-77
lines changed

0 commit comments

Comments
 (0)