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 Relaxation on sunpos #76

Merged
merged 1 commit into from
Apr 8, 2022
Merged

Conversation

Aman-Pandey-afk
Copy link
Contributor

Fix for issue #73 .Removed the _sunpos function, and used two sunpos functions with Real and AbstractVector{<:Real} arguments, still casting the output to float to ensure it is type-stable. Works with most of the outputs of ForwardDiff functions, although can't exactly check the error in the issue as no code is provided to reproduce it.

@giordano giordano self-requested a review April 8, 2022 14:24
@giordano
Copy link
Member

giordano commented Apr 8, 2022

This PR looks good, although it doesn't really solve #73 because of limitations in ForwardDiff.jl. Thanks!

@giordano giordano merged commit f5a9b56 into JuliaAstro:master Apr 8, 2022
@Aman-Pandey-afk Aman-Pandey-afk deleted the typefix branch April 9, 2022 04:57
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