(D::Larger)::Smaller != D ? #1461
-
|
I am writing an ndarray function that is generic in dimension ( Intuitively these are the same dimension types, but I see how the Dimension trait doesn't enforce In the meantime I'm going to see if I can avoid using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Any chance you can provide a minimal example that produces this error? I'd be happy to look into it, but am honestly not sure how to trigger it! |
Beta Was this translation helpful? Give feedback.
-
|
Unfortunately, they aren't always the same type. In the latest version of |
Beta Was this translation helpful? Give feedback.
Unfortunately, they aren't always the same type. In the latest version of
ndarray, constant-ndim types only go up to 6 dimensions, soIx6::Larger = IxDyn. SinceIxDyn::Smaller = IxDyn,<Ix6::Larger as Dimension>::Smaller = IxDyn::Smaller = IxDyn.