Skip to content

Commit 328b8eb

Browse files
committed
Another fix
1 parent 844dae4 commit 328b8eb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/multidim/intervalbox.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ end
141141
@generated function mince(x::IntervalBox{N,T}, tup::NTuple{N,Int}) where {N,T}
142142
quote
143143
n = maximum(tup)
144-
nodes_matrix = Array{Interval{T},2}(undef, n, N)
145-
fill!(nodes_matrix, emptyinterval(T))
144+
nodes_matrix = fill(emptyinterval(T), n, N)
146145
for i in 1:N
147146
nodes_matrix[1:tup[i],i] .= mince(x[i], tup[i])
148147
end

0 commit comments

Comments
 (0)