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

hot fix for forward diff issue 706 #17

Merged
merged 2 commits into from
Jul 25, 2024
Merged

Conversation

bvdmitri
Copy link
Member

This PR implements a small hot-fix for JuliaDiff/ForwardDiff.jl#706

@bvdmitri bvdmitri requested review from ismailsenoz and Nimrais July 25, 2024 16:27
@bvdmitri
Copy link
Member Author

It's technically still broken, but covers at least the most common use case with Float64

@Nimrais
Copy link
Member

Nimrais commented Jul 25, 2024

Yeah, but we can just remove forwarddiff from the MLE.

@Nimrais
Copy link
Member

Nimrais commented Jul 25, 2024

I see no reason why the ForwardDiff is used there, and probably there should be a test for this change to fix

@bvdmitri
Copy link
Member Author

Yeah, but we can just remove forwarddiff from the MLE.

You're right, but I would not say "just" in this context :D It's quite some work and ForwardDiff actually works pretty fast as for now, this hot-fix allows us to proceed further. We can drop the dependency on ForwardDiff later since its not as easy as this patch

@Nimrais
Copy link
Member

Nimrais commented Jul 25, 2024

ok

@bvdmitri
Copy link
Member Author

But I'm up to removing ForwardDiff from MLE indeed, it would be much better

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.59%. Comparing base (d9408e4) to head (81539de).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   96.59%   96.59%           
=======================================
  Files          24       24           
  Lines         323      323           
=======================================
  Hits          312      312           
  Misses         11       11           

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

@bvdmitri
Copy link
Member Author

I've added a test for this

@bvdmitri bvdmitri merged commit ab4db63 into main Jul 25, 2024
2 checks passed
@bvdmitri bvdmitri deleted the patch-forwardiff-issue-706 branch July 25, 2024 16:42
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