Skip to content

Commit e241e23

Browse files
committed
hopefully fix getemetadata default
1 parent 08f746d commit e241e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function getmetadata(s::Symbolic, ctx)
6969
end
7070

7171
function getmetadata(s::Symbolic, ctx, default)
72-
s.metadata isa Ref ? get(s.metadata[], ctx, default) : default
72+
s.metadata isa AbstractDict ? get(s.metadata, ctx, default) : default
7373
end
7474

7575
# pirated for Setfield purposes:

0 commit comments

Comments
 (0)