-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add generic fallback to all scalar functions #71
Conversation
IMO this isn't quite correct. |
This also needs tests. |
Can this be merged? I stumbled upon it when running: using Symbolics
m = [cos(ψ) -sin(ψ); sin(ψ) cos(ψ)]
jacfunc = Symbolics.build_function(m, ψ; expression=Val(false))[1]
jacfunc((0+0.1im)) |
No because it fails tests. But if someone fixes the ambiguities then it would be good to merge. |
3e1ea0f
to
05dbeac
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #71 +/- ##
==========================================
+ Coverage 96.15% 96.33% +0.17%
==========================================
Files 1 1
Lines 104 109 +5
==========================================
+ Hits 100 105 +5
Misses 4 4 ☔ View full report in Codecov by Sentry. |
❤️ |
That was not addressed? IMO the definitions in this PR are just wrong. Fallbacks require to check for errors or must be known to be safe (as was the case e.g. for the |
It was addressed when the other PR was related to it though? |
Which other PR? |
No description provided.