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
julia>using LinearAlgebra; U =UniformScaling(2); A =ones(2,2); dot(U, A)
ERROR: MethodError: no method matching iterate(::UniformScaling{Int64})
Closest candidates are:iterate(::Union{LinRange, StepRangeLen}) at range.jl:737iterate(::Union{LinRange, StepRangeLen}, ::Int64) at range.jl:737iterate(::T) where T<:Union{Base.KeySet{var"#s78", var"#s77"} where {var"#s78", var"#s77"<:Dict}, Base.ValueIterator{var"#s76"} where var"#s76"<:Dict} at dict.jl:693...
Stacktrace:
[1] dot(x::UniformScaling{Int64}, y::Matrix{Float64})
@ LinearAlgebra C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\LinearAlgebra\src\generic.jl:876
[2] top-level scope
@ REPL[13]:1
I guess it would make sense for this use U.λ * tr(A)
The text was updated successfully, but these errors were encountered:
I guess it would make sense for this use
U.λ * tr(A)
The text was updated successfully, but these errors were encountered: