Skip to content

Conversation

@chriselrod
Copy link
Contributor

@AayushSabharwal I'm trying to see if adding ::NTuple{N, Int} is a valid signature on DiffEqArray.
Having ::NTuple{N} in the third position is compatible with NTuple{N,Symbol}, resulting in ambiguities with the following two constructors.

This is an attempt to avoid that ambiguity, while being totally ignorant of what that third argument in the first constructor is actually supposed to be.

@AayushSabharwal
Copy link
Member

AayushSabharwal commented Jan 26, 2023

I'm not sure what it's for either, and don't remember seeing it used anywhere. A quick browse through the parts of SciMLBase I know also doesn't use it. Hopefully we should be good? Tests seem to pass

@ChrisRackauckas ChrisRackauckas merged commit 5be2312 into SciML:master Jan 27, 2023
@chriselrod chriselrod deleted the ambiguities branch January 27, 2023 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants