How to annotate Smaller dimension type for PyArray?
#388
|
I am writing a function that accepts a generic |
Answered by
adamreichold
Aug 3, 2023
Replies: 2 comments
|
The Could you a concrete compiler error you face while trying to use |
0 replies
Answer selected by
rkshthrmsh
|
You are right. It appears that there was some other issue with my code. Closing this Q&A. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
DinPyArray<A, D>just uses theDimensiontrait fromndarray, soD::Smallershould work in exactly the same way.Could you a concrete compiler error you face while trying to use
D::Smaller?