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 Zygote errors with correlation sensitivities #68

Merged

Conversation

sschlenkrich
Copy link
Member

This PR fixes errors with Zygote if differentiating an empty dictionary.

  • avoid trivial correlation sensitivity calculation
  • add type annotations to correlation_holder
  • make correlation_holder non-differentiable

  - avoid trivial correlation sensitivity calculation
  - add type annotations to correlation_holder
  - make correlation_holder non-differentiable
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.19%. Comparing base (492df05) to head (2640e8b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #68      +/-   ##
==========================================
- Coverage   98.24%   98.19%   -0.06%     
==========================================
  Files          65       66       +1     
  Lines        3428     3429       +1     
==========================================
- Hits         3368     3367       -1     
- Misses         60       62       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sschlenkrich sschlenkrich merged commit 8c9e4b9 into frame-consulting:main Feb 24, 2024
4 checks passed
@sschlenkrich sschlenkrich deleted the wip/fix-component-test branch February 24, 2024 14:36
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.

3 participants