Skip to content

Commit d6c6309

Browse files
authored
Merge branch 'main' into bd/codecoverage
2 parents 455cffc + 24dde42 commit d6c6309

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tensors/abstracttensor.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function storagetype(::Type{T}) where {T <: AbstractTensorMap}
6161
return similarstoragetype(scalartype(T))
6262
end
6363
end
64-
storagetype(T::Type) = throw(MethodError(storagetype, T))
64+
storagetype(T::Type) = throw(MethodError(storagetype, (T,)))
6565

6666
# storage type determination and promotion - hooks for specializing
6767
# the default implementation tries to leverarge inference and `similar`

0 commit comments

Comments
 (0)