Skip to content

Provide base case for recursive eltype functions #173

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

Merged
merged 1 commit into from
Nov 25, 2021

Conversation

baggepinnen
Copy link
Contributor

Addresses SciML/ModelingToolkit.jl#1353
The problem in the linked issue is not solved completely since the eltype infers to Any, but this PR prevents the stackoverflow.

Addresses SciML/ModelingToolkit.jl#1353
The problem in the linked issue is not solved completely since the eltype infers to `Any`, but this PR prevents the stackoverflow.
@ChrisRackauckas
Copy link
Member

This won't actually solve the problem because then the solver will just fail somewhere else not being able to build zero(Any). But it is probably good to stop the overflow anyways.

@ChrisRackauckas ChrisRackauckas merged commit f473dbc into SciML:master Nov 25, 2021
@baggepinnen baggepinnen deleted the patch-1 branch November 25, 2021 12:30
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.

2 participants