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

CI trigger #100

Closed
wants to merge 2 commits into from
Closed

CI trigger #100

wants to merge 2 commits into from

Conversation

ArnoStrouwen
Copy link
Member

No description provided.

@ArnoStrouwen
Copy link
Member Author

@ChrisRackauckas
Copy link
Member

Looks like it's JuliaIntervals/IntervalArithmetic.jl#582. @OlivierHnt what should we do here?

@OlivierHnt
Copy link

OlivierHnt commented Dec 26, 2023

Indeed, the current stable release of IntervalArithmetic (v0.22) removed the structure IntervalBox; an AbstractVector{<:Interval} will be directly interpreted as a multi-dimensional interval.
After a quick look, try to:

  • replace IntervalBox{N,T} with Vector{Interval{T}} (or even AbstractVector{<:Interval}) in type signature (cf.
    inCloseOpen(X::AbstractVector, Y::IntervalBox{N, T}) where {N, T} = all(inCloseOpen.(X, Y))
    )
  • delete the call IntervalBox in line
    intervals = mince(IntervalBox([interval(zero(T), one(T)) for i in 1:s]),
  • do not access the lower and upper bounds of an interval directly, use inf and sup respectively; for instance the line
    a.lo <= x < a.hi
    should read inf(a) <= x < sup(a)

Hopefully this fixes the CI 🙂; I can provide more pointers if need be.

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

Successfully merging this pull request may close these issues.

3 participants