-
Notifications
You must be signed in to change notification settings - Fork 53
Invalidation #339
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
Comments
Thanks @lrnv for opening this issue and filing such a detailed report. I will have a look on it, but I will also have to understand the problem. As a simple solution, have you tested your code with the problematic lines commented? |
Well, there is no particularly "problematic line". What I do is simply using TaylorSeries.jl to get a derivative, particularly there: But on the other hand I am not sure if that is a very interesting bug or if we should just dont care |
Thanks again for opening this issue, and sorry for addressing it with such a delay. Recently, #341 was merged and includes additions to extend Aqua-related checks. In the branch Can you test if that is enough to solve (or advance) with this issue? In working on this, I noticed that, once julia> ambs = Aqua.detect_ambiguities(TaylorSeries; recursive = true)
2-element Vector{Tuple{Method, Method}}:
(^(a::TaylorN{Interval{T}}, r::S) where {T<:Real, S<:Real} @ TaylorSeriesIAExt ~/.julia/packages/TaylorSeries/l6u6g/ext/TaylorSeriesIAExt.jl:46, ^(a::TaylorN, x::Rational) @ TaylorSeries ~/.julia/packages/TaylorSeries/l6u6g/src/power.jl:50)
(^(a::Taylor1{Interval{T}}, r::S) where {T<:Real, S<:Real} @ TaylorSeriesIAExt ~/.julia/packages/TaylorSeries/l6u6g/ext/TaylorSeriesIAExt.jl:22, ^(a::Taylor1, x::Rational) @ TaylorSeries ~/.julia/packages/TaylorSeries/l6u6g/src/power.jl:50) I will try to solve them now; they may be the source of the problems... |
Uh oh!
There was an error while loading. Please reload this page.
hey,
using this tutorial on my particular workflow, I endeed up with a lot of invalidations in TaylorSeries.jl as follows:
Looks like the problematic method is the convert method there :
TaylorSeries.jl/src/conversion.jl
Lines 140 to 148 in ff1f680
The second one is a promote rule, also from
TaylorSeries.jl
:defined there:
TaylorSeries.jl/src/conversion.jl
Lines 201 to 202 in ff1f680
Do you think we could do somehting about it ? I admit that I dont know what to do with this :)
Code I ran
The text was updated successfully, but these errors were encountered: