Skip to content
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

Type stability #19

Open
ocots opened this issue Dec 20, 2024 · 1 comment
Open

Type stability #19

ocots opened this issue Dec 20, 2024 · 1 comment

Comments

@ocots
Copy link
Member

ocots commented Dec 20, 2024

final_time(model::TimesModel{<:AbstractTimeModel,FreeTimeModel}, variable::Variable)::Time =

The output should be of type the type of the elements of the variable.

@PierreMartinon
Copy link
Member

PierreMartinon commented Jan 8, 2025

Hi @ocots :-)
This tool my be useful: https://github.com/MilesCranmer/DispatchDoctor.jl
Apparently it provides macros to detect type instabilities, with some configurable options.

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

No branches or pull requests

2 participants