Skip to content

Commit 2718c4e

Browse files
could be empty
1 parent 1a83244 commit 2718c4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ function mergedefaults(defaults, varmap, vars)
473473
end
474474

475475
function promote_to_concrete(vs)
476+
isemtpy(vs) && return vs
476477
T = eltype(vs)
477478
if Base.isconcretetype(T) # nothing to do
478479
vs

0 commit comments

Comments
 (0)