We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
test_approx
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
test_approx(Tangent{Float64}(), ZeroTangent()) test_approx(ZeroTangent(), Tangent{Float64}())
Fails due to method ambiguities.
ERROR: MethodError: test_approx(::Tangent{Float64, @NamedTuple{}}, ::ZeroTangent) is ambiguous. Candidates: test_approx(actual::Tangent{P, T}, expected; ...) where {T, P} @ ChainRulesTestUtils /home/lweber/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:124 test_approx(x, ::AbstractZero; ...) @ ChainRulesTestUtils /home/lweber/.julia/packages/ChainRulesTestUtils/Ko1Wr/src/check_result.jl:43 Possible fix, define test_approx(::Tangent{P, T}, ::AbstractZero) where {T, P} Stacktrace: [1] top-level scope @ REPL[7]:1
The equivalent with NoTangent() works.
NoTangent()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Fails due to method ambiguities.
The equivalent with
NoTangent()
works.The text was updated successfully, but these errors were encountered: