Skip to content

Commit df97cdd

Browse files
authored
add isinterior for complex intervals (#492)
* added isinterior for complex intervals * bumped patch version
1 parent 2d1d646 commit df97cdd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "IntervalArithmetic"
22
uuid = "d1acc4aa-44c8-5952-acd4-ba5d80a2a253"
33
repo = "https://github.com/JuliaIntervals/IntervalArithmetic.jl.git"
4-
version = "0.19.1"
4+
version = "0.19.2"
55

66
[deps]
77
CRlibm = "96374032-68de-5a5b-8d9e-752f78720389"

src/intervals/complex.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
for op in (:, :)
2+
for op in (:, :, :)
33
@eval function $(op)(x::Complex{Interval{T}}, y::Complex{Interval{S}}) where {T, S}
44
return $(op)(real(x), real(y)) && $(op)(imag(x), imag(y))
55
end

test/interval_tests/complex.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ using LinearAlgebra
1010

1111
@test a c
1212
@test a c
13+
@test a c
1314
@test (b c) == false
1415
@test (b c) == false
1516

0 commit comments

Comments
 (0)