We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34ac960 commit 24dde42Copy full SHA for 24dde42
1 file changed
src/tensors/abstracttensor.jl
@@ -61,7 +61,7 @@ function storagetype(::Type{T}) where {T <: AbstractTensorMap}
61
return similarstoragetype(scalartype(T))
62
end
63
64
-storagetype(T::Type) = throw(MethodError(storagetype, T))
+storagetype(T::Type) = throw(MethodError(storagetype, (T,)))
65
66
# storage type determination and promotion - hooks for specializing
67
# the default implementation tries to leverarge inference and `similar`
0 commit comments