Skip to content

Commit 0868487

Browse files
committed
be less strict in type assertion
1 parent 74d9276 commit 0868487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/spaces/gradedspace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ end
200200
Base.summary(io::IO, V::GradedSpace) = print(io, type_repr(typeof(V)))
201201

202202
function Base.show(io::IO, V::GradedSpace)
203-
opn = (get(io, :typeinfo, Any)::DataType == typeof(V) ? "" : type_repr(typeof(V)))
203+
opn = (get(io, :typeinfo, Any)::Type == typeof(V) ? "" : type_repr(typeof(V)))
204204
opn *= "("
205205
if isdual(V)
206206
cls = ")'"

0 commit comments

Comments
 (0)