-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
redundant code in check_array #9552
Copy link
Copy link
Closed
Labels
EasyWell-defined and straightforward way to resolveWell-defined and straightforward way to resolve
Description
It looks to me like there is redundant code in check_array in the ensure_2d part. We just checked ndim, so what do we do atleast_2d for? (this leaves alone higher n-dim, right)?
I think we should remove these two lines but we need to make sure behavior is really identical.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
EasyWell-defined and straightforward way to resolveWell-defined and straightforward way to resolve