-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix output dimensions type parameter #398
Conversation
The test failures (or rather what they reveal that I missed so far) makes me wonder whether keeping So the |
This was for DI, so @adrhill what is best here? |
I'm happy to adapt to anything you decide upon. It would be practical for me to have a stable API that allows me to determine the output shape based on an |
An input? The API discussed so far, regardless whether based on a type parameter or trait, would return |
Exactly, which is why I would need both the |
It's not clear to me what you actually need. Based on your last comments everything discussed so far seems useless? |
My initial request, which now doesn't matter anymore, was to mirror array types, but you've shown me in #396 that my assumptions on DataInterpolations' input and output types were wrong. I've therefore reapeatedly stated that I have no qualified opinions on DataInterpolations' type design and that What would be helpful for SCT is a stable API that allows me to determine the output shape based on an interpolant (whatever the type ends up looking like) and an input. This is needed since SCT's global tracers can't evaluate the actual call to |
Alright, so then if no one needs it, let's just remove it then? Are we all agreed? I just want to do whatever makes people happy, I don't care about this parameter and it was made for you and others 😅 |
Yes, I am fine with removing it. |
Sorry by the way, I did not expect this to cause so much trouble. |
Same as #396 (ie changes
N
inAbstractInterpolation{T,N}
to refer tondims(interp(x))
for a single inputx
) but keepsN
as a type parameter.