Skip to content

Commit be0d5fa

Browse files
authored
SVector in checkpoints (#394)
1 parent 8bdec4d commit be0d5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Domain.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ domain(::Number) = AnyDomain()
153153
rand(d::IntervalOrSegmentDomain,k...) = fromcanonical.(Ref(d),2rand(k...)-1)
154154

155155

156-
checkpoints(d::IntervalOrSegmentDomain) = fromcanonical.(Ref(d),[-0.823972,0.01,0.3273484])
156+
checkpoints(d::IntervalOrSegmentDomain) = fromcanonical.(Ref(d),SVector{3,Float64}(-0.823972,0.01,0.3273484))
157157

158158
## boundary
159159

0 commit comments

Comments
 (0)