You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# project_symmetric! doesn't yet work for GPU types, so do this on the host, then copy
11
-
function TensorKit._project_symmetric_and_check(::Type{T}, ::Type{A}, data::AbstractArray, V::TensorMapSpace; tol =sqrt(eps(real(float(eltype(data)))))) where {T, A <:CuVector{T}}
11
+
function TensorKit.project_symmetric_and_check(::Type{T}, ::Type{A}, data::AbstractArray, V::TensorMapSpace; tol =sqrt(eps(real(float(eltype(data)))))) where {T, A <:CuVector{T}}
function_project_symmetric_and_check(::Type{T}, ::Type{A}, data::AbstractArray, V::TensorMapSpace; tol =sqrt(eps(real(float(eltype(data)))))) where {T, A <:DenseVector{T}}
201
+
functionproject_symmetric_and_check(::Type{T}, ::Type{A}, data::AbstractArray, V::TensorMapSpace; tol =sqrt(eps(real(float(eltype(data)))))) where {T, A <:DenseVector{T}}
202
202
t =TensorMapWithStorage{T, A}(undef, V)
203
203
t =project_symmetric!(t, data)
204
204
# verify result
@@ -218,7 +218,7 @@ function TensorMapWithStorage{T, A}(
0 commit comments