StaticArrays.jl
StaticArrays.jl copied to clipboard
Changes from #908 lead to `NaN`s in AD jacobians for methods using `norm2` on `StaticArray` types
I recently opened this issue on ForwardDiff.jl: https://github.com/JuliaDiff/ForwardDiff.jl/issues/547. @KristofferC identified #908 as the PR that introduced the breaking changes; see his comment here: https://github.com/JuliaArrays/StaticArrays.jl/pull/908#issuecomment-932820498. @mateuszbaran said this is because of a missing check in StaticArrays.jl for norm2, which LinearAlgebra already does; see his comment here: https://github.com/JuliaArrays/StaticArrays.jl/pull/908#issuecomment-932825220.
I am not familiar with the internals of StaticArrays.jl, so any help with this is be much appreciated. Thank you!