You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your PR requires formatting changes to meet the project's style guidelines.
Please consider running Runic (git runic main) to apply these changes.
Click here to view the suggested changes.
diff --git a/lib/EnzymeTestUtils/src/finite_difference_calls.jl b/lib/EnzymeTestUtils/src/finite_difference_calls.jl
index 87d6f707..11f89564 100644
--- a/lib/EnzymeTestUtils/src/finite_difference_calls.jl+++ b/lib/EnzymeTestUtils/src/finite_difference_calls.jl@@ -71,7 +71,7 @@ function j′vp(fdm, f_vec, ȳ, x)
end
end
end
- mat = isempty(ẏs) ? similar(x, 0) : transpose(reduce(hcat, ẏs))+ mat = isempty(ẏs) ? similar(x, 0) : transpose(reduce(hcat, ẏs))
result = zero(x)
for i in 1:length(ȳ)
tp = @inbounds ȳ[i]
I'd love to but it's kind of annoying because this function is only tested implicitly by other stuff... I'll see if I can think of a good way to do it. Or do you mind if I just call it directly in a test?
basic gist is that if you hit this in your real code, if we don't test it -- there's a chance the functionality is reverted accidentally. so anything that exercises that
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This keeps screwing up my life!!!!