-
Notifications
You must be signed in to change notification settings - Fork 15
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
Check frule primal with isapprox #46
Conversation
Hmm my concern is that this is going to break when the functions output objects for which |
Yes, |
Hmm yeah, I would definitely be on board with that as a short- to medium-term solution. |
Okay, I added back the equality check first, and I did the same thing for |
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.
LGTM. Thanks!
frule_test
currently requires the primal output offrule
off
to be exactly equal to the output off
. We previously relaxed this requirement forrrule_test
(#33), and this PR just uses the same check forfrule_test
.The ChainRules test suite still passes for me with this change.