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

Fix getindex on CompositeBundle of a struct #153

Merged
merged 1 commit into from
May 23, 2023
Merged

Conversation

oxinabox
Copy link
Member

Closes #152
It is still constructed "wrong" but we fix it in the getindex
Not sure if we should have getindex(::CompositeBundle, ::TaylorTangentIndex) calling partial(::CompositeBundle, ::Int)
(this PR)
or the other way around.
Which is more canonical?

We can always change later.

@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.35 🎉

Comparison is base (99cf2ee) 51.48% compared to head (b845365) 51.83%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #153      +/-   ##
==========================================
+ Coverage   51.48%   51.83%   +0.35%     
==========================================
  Files          27       27              
  Lines        2694     2693       -1     
==========================================
+ Hits         1387     1396       +9     
+ Misses       1307     1297      -10     
Impacted Files Coverage Δ
src/tangent.jl 39.84% <100.00%> (+7.28%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@oxinabox oxinabox merged commit 59ba92c into main May 23, 2023
@oscardssmith oscardssmith deleted the ox/tangentforward branch May 23, 2023 13:18
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.

Tangent being Constructed with wrong type in forward mode
1 participant