Skip to content

Commit dfb2d68

Browse files
typo
1 parent 2718c4e commit dfb2d68

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,9 @@ function mergedefaults(defaults, varmap, vars)
473473
end
474474

475475
function promote_to_concrete(vs)
476-
isemtpy(vs) && return vs
476+
if isempty(vs)
477+
return vs
478+
end
477479
T = eltype(vs)
478480
if Base.isconcretetype(T) # nothing to do
479481
vs

0 commit comments

Comments
 (0)