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

Refactor high-level API #32

Merged
merged 8 commits into from
May 2, 2024
Merged

Refactor high-level API #32

merged 8 commits into from
May 2, 2024

Conversation

adrhill
Copy link
Owner

@adrhill adrhill commented May 2, 2024

With #31, the previous API leaked a bit too many implementation details:

pattern(f, JacobianTracer{BitSet}, x)

This has been replaced by

jacobian_pattern(f, x)

which defaults to

jacobian_pattern(f, x, BitSet)

Analogous functions for the Hessian and connectivity are hessian_pattern and connectivity_pattern.

@codecov-commenter
Copy link

codecov-commenter commented May 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.48%. Comparing base (b98e796) to head (a347aeb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #32      +/-   ##
==========================================
+ Coverage   70.49%   71.48%   +0.98%     
==========================================
  Files           8        8              
  Lines         261      270       +9     
==========================================
+ Hits          184      193       +9     
  Misses         77       77              

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

@adrhill adrhill merged commit 8a9110a into main May 2, 2024
2 checks passed
@adrhill adrhill deleted the ah/pattern-refactor branch May 2, 2024 23:28
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