Skip to content

Commit ac572f6

Browse files
add Reals domain
1 parent 218f07a commit ac572f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/domains.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ struct DiscreteDomain <: AbstractDomain
44
length::Int
55
end
66

7+
struct Reals <: AbstractDomain end
8+
79
struct Interval{T} <: AbstractDomain
810
start::T
911
stop::T
@@ -15,4 +17,4 @@ end
1517

1618
Base.:*(x::AbstractDomain...) = ProductDomain((x...))
1719

18-
export DiscreteDomain, Interval, ProductDomain
20+
export Reals, DiscreteDomain, Interval, ProductDomain

0 commit comments

Comments
 (0)