-
Notifications
You must be signed in to change notification settings - Fork 39
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
VectorInterface #65
VectorInterface #65
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #65 +/- ##
==========================================
- Coverage 82.30% 82.05% -0.25%
==========================================
Files 27 27
Lines 2741 2753 +12
==========================================
+ Hits 2256 2259 +3
- Misses 485 494 +9 ☔ View full report in Codecov by Sentry. |
Hi Lukas; thanks for this great work. I was indeed considering switching to bangbang methods when adopting VectorInterface, so if you have time to try this out and see if there would be any unexpected consequences or complications, feel free to do so ... |
Some small remaining remarks:
|
So, if the lights turn green, this should be ready for review. I excluded AD rules from the new functionality, because we should probably rewrite that section anyways, using Package extensions. Otherwise, I think everything should now work with In principle I think we can also remove/deprecate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pushing a first bunch of review comments on everything in scr
. I will now continue reviewing everything in test
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the tests, I have mixed feelings. The reduced runtime is very good, but it seems this comes with quite a bit of near-trivial code duplication.
Nightly failures seem due to Zygote failing? |
I think so, it also seems to vary quite a bit depending on what version of nightly, so I think we can ignore this. We'll refactor that part anyways when we move the AD support to a package extension I guess. |
rewrite algorithms in terms of VectorInterface methods.