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
It looks like StaticArrays has made its dot more consistent with Base.LinearAlgebras. I think this would be the analogous not-StaticArrays call
julia> LinearAlgebra.dot([0.5, 0.5], [[1,1], [2,2]])
ERROR: UndefVarError: LinearAlgebra not defined
Stacktrace:
[1] top-level scope at REPL[7]:1
julia> import LinearAlgebra
julia> LinearAlgebra.dot([0.5, 0.5], [[1,1], [2,2]])
ERROR: DimensionMismatch("x and y are of different lengths!")
Error:
reference distance: Error During Test at /Users/goretkin/.julia/dev/EnhancedGJK/test/runtests.jl:16
Got exception outside of a @test
DimensionMismatch("x and y are of different lengths!")
Stacktrace:
[1] dot(::Float64, ::StaticArrays.SArray{Tuple{3},Float64,1,3}) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.2/LinearAlgebra/src/generic.jl:761
[2] _vecdot at /Users/goretkin/.julia/packages/StaticArrays/3KEjZ/src/linalg.jl:229 [inlined]
[3] dot at /Users/goretkin/.julia/packages/StaticArrays/3KEjZ/src/linalg.jl:217 [inlined]
[4] gjk!(::CollisionCache{GLNormalMesh,StaticArrays.SArray{Tuple{3},Float64,1,3},4,EnhancedGJK.Difference{EnhancedGJK.Tagged{StaticArrays.SArray{Tuple{3},Float32,1,3},Nothing},EnhancedGJK.Tagged{StaticArrays.SArray{Tuple{3},Float64,1,3},Nothing}}}, ::IdentityTransformation, ::IdentityTransformation, ::Int64, ::Float64) at /Users/goretkin/.julia/dev/EnhancedGJK/src/gjk.jl:102
[5] gjk!(::CollisionCache{GLNormalMesh,StaticArrays.SArray{Tuple{3},Float64,1,3},4,EnhancedGJK.Difference{EnhancedGJK.Tagged{StaticArrays.SArray{Tuple{3},Float32,1,3},Nothing},EnhancedGJK.Tagged{StaticArrays.SArray{Tuple{3},Float64,1,3},Nothing}}}, ::IdentityTransformation, ::IdentityTransformation) at /Users/goretkin/.julia/dev/EnhancedGJK/src/gjk.jl:84
Type details:
typeof(weights) = StaticArrays.SArray{Tuple{4},Float64,1,4}
typeof(simplex) = StaticArrays.SArray{Tuple{4},StaticArrays.SArray{Tuple{3},Float64,1,3},1,4}
dot(a::StaticArrays.StaticArray{Tuple{N},T,1} where T where N, b::StaticArrays.StaticArray{Tuple{N},T,1} where T where N) in StaticArrays at /Users/goretkin/.julia/packages/StaticArrays/3KEjZ/src/linalg.jl:21
The text was updated successfully, but these errors were encountered:
Using StaticArrays v0.11.0 the line
EnhancedGJK.jl/src/gjk.jl
Line 99 in f6a6553
errors (shown below).
It looks like StaticArrays has made its
dot
more consistent withBase.LinearAlgebra
s. I think this would be the analogous not-StaticArrays callError:
Type details:
The text was updated successfully, but these errors were encountered: