Skip to content

Commit

Permalink
Unexport numtype (#499)
Browse files Browse the repository at this point in the history
* Unexport numtype

* Bump patch version
  • Loading branch information
lbenet committed Dec 4, 2021
1 parent e94b3ae commit af22f4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "IntervalArithmetic"
uuid = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
repo = "https://github.com/JuliaIntervals/IntervalArithmetic.jl.git"
version = "0.20.0"
version = "0.20.1"

[deps]
CRlibm = "96374032-68de-5a5b-8d9e-752f78720389"
Expand Down
2 changes: 1 addition & 1 deletion src/IntervalArithmetic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export
precedes, strictprecedes, , , , , , contains_zero,
entireinterval, isentire, nai, isnai, isthin, iscommon, isatomic,
widen, inf, sup, bisect, mince,
parameters, eps, dist, numtype,
parameters, eps, dist, #numtype,
midpoint_radius, interval_from_midpoint_radius,
RoundTiesToEven, RoundTiesToAway,
cancelminus, cancelplus, isunbounded,
Expand Down
4 changes: 2 additions & 2 deletions test/interval_tests/construction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ end

# PR 496
@test eltype(Interval(1, 2)) == Interval{Float64}
@test numtype(Interval(1, 2)) == Float64
@test IntervalArithmetic.numtype(Interval(1, 2)) == Float64
@test [1 2; 3 4] * Interval(-1, 1) == [-1..1 -2..2;-3..3 -4..4]

@test eltype(IntervalBox(1..2, 2..3)) == Interval{Float64}
@test numtype(IntervalBox(1..2, 2..3)) == Float64
@test IntervalArithmetic.numtype(IntervalBox(1..2, 2..3)) == Float64
end

@testset ".. tests" begin
Expand Down

4 comments on commit af22f4a

@lbenet
Copy link
Member Author

@lbenet lbenet commented on af22f4a Dec 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Register Failed
@lbenet, it looks like you are not a publicly listed member/owner in the parent organization (JuliaIntervals).
If you are a member/owner, you will need to change your membership to public. See GitHub Help

@lbenet
Copy link
Member Author

@lbenet lbenet commented on af22f4a Dec 4, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/49925

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.20.1 -m "<description of version>" af22f4a1c24070de3ae25050526f222f57563cbe
git push origin v0.20.1

Please sign in to comment.