Skip to content

Commit 82f7645

Browse files
committed
Merge branch 'bd/codecoverage' of https://github.com/Jutho/TensorKit.jl into bd/codecoverage
2 parents a742745 + d6c6309 commit 82f7645

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)