Skip to content

Commit b1b1c80

Browse files
Error when #1067 is happening...
1 parent f222bad commit b1b1c80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/traces.jl

+1
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ end
180180
function Traces(; kw...)
181181
data = map(x -> convert(AbstractTrace, x), values(kw))
182182
names = keys(data)
183+
!(values(data) isa AbstractArray) || @error "Trace element type, `$(typeof(values(data)))`` is an `AbstractArray`, not an array element type, like `Float64`."
183184
Traces{names,typeof(data),length(names),typeof(values(data))}(data)
184185
end
185186

0 commit comments

Comments
 (0)