StaticArrays.jl icon indicating copy to clipboard operation
StaticArrays.jl copied to clipboard

Changes from #908 lead to `NaN`s in AD jacobians for methods using `norm2` on `StaticArray` types

Open ferrolho opened this issue 4 years ago • 0 comments

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!

ferrolho avatar Oct 05 '21 09:10 ferrolho