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

Where are docs for 0.6 / what are all the breaking changes? #207

Closed
Datseris opened this issue Nov 16, 2024 · 5 comments
Closed

Where are docs for 0.6 / what are all the breaking changes? #207

Datseris opened this issue Nov 16, 2024 · 5 comments

Comments

@Datseris
Copy link
Contributor

Datseris commented Nov 16, 2024

I am trying to update CHaosTools.jl to the new breaking release. I am running into problems with using a Vector of Interval: https://github.com/JuliaDynamics/ChaosTools.jl/actions/runs/11868975864/job/33078794485?pr=338#step:7:680

The breaking change release notes says "remove IntervalBox, just use Vector{Interval}" but that does not work for the roots function. There aren't updated docs online yet to check what's the correct usage.

@Datseris Datseris changed the title Were are docs for 0.6 / what are all the breaking changes? Where are docs for 0.6 / what are all the breaking changes? Nov 16, 2024
@Datseris
Copy link
Contributor Author

@Datseris
Copy link
Contributor Author

Datseris commented Nov 16, 2024

Right I fixed many things, now my problem is that I have no idea in what format the Jacobian (derivative) needs to be specified in, because this simple one doesn't work:

    henon_rule(x) = SVector{2}(1.0 - p[1]*x[1]^2 + x[2], p[2]*x[1])
    henon_jacob(x) = SMatrix{2,2}(-2*p[1]*x[1], p[2], 1.0, 0.0)

Can someone tell me perhaps what's the new format?
My error is

  Got exception outside of a @test
  MethodError: *(::SMatrix{2, 2, IntervalArithmetic.Interval{Float64}, 4}, ::Vector{IntervalArithmetic.Interval{Float64}}) is ambiguous.

my code works fine if I give nothing as the Jacobian.

@Kolaru
Copy link
Collaborator

Kolaru commented Nov 16, 2024

Thanks for reporting ! I have added a badge in the README pointing to the master doc, and a note there about not mixing vector types.

@Datseris
Copy link
Contributor Author

The dev docs are here: https://juliaintervals.github.io/IntervalRootFinding.jl/dev/#Stationary-points . I assume this is what you mean by master doc? These docs are outdated, in the example I link above they use the old signature. Are these the updated docs and just the home page is out of date?

@Kolaru
Copy link
Collaborator

Kolaru commented Nov 20, 2024

The docs seems to now be findable, the vector mixing issue is #209

@Kolaru Kolaru closed this as completed Nov 20, 2024
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

No branches or pull requests

2 participants