Giter Site home page Giter Site logo

Comments (2)

omus avatar omus commented on May 25, 2024 1

The behaviour is currently deprecated:

julia> Interval(0, -1)
┌ Warning: Constructing an `Interval{T,X,Y}(x, y)` where `x > y` is deprecated, use `Interval{T,Y,X}(y, x)` instead.
│   caller = Interval at interval.jl:118 [inlined]
└ @ Core ~/.julia/dev/Intervals/src/interval.jl:118
Interval{Int64,Closed,Closed}(-1, 0)

The original plan was to error (#57) but returning an empty interval is probably the better choice.

from intervals.jl.

ExpandingMan avatar ExpandingMan commented on May 25, 2024

Thanks, I actually think that I may have recently downgraded due to some package with constraints without having realized it, so now I think I'd better track down whatever was causing it.

from intervals.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.