Help on reported JET issue when using StaticArrays

I am doing some analysis of some of my code using JET.jl.

When I use StaticArrays in the following way (below is a MWE), report_call from JET is unhappy:

a=MVector(1,2,3,4,5)
b=MVector(6,7,8,9,10)
@report_call b[a.==2]

However, without static arrays, report_call is just fine.

a=[1,2,3,4,5]
b=[6,7,8,9,10]
@report_call b[a.==2]

I will note that my code executes fine and is much faster when using StaticArrays for my use case, so I want to use it. Should I just ignore this apparent issue reported by JET or is there a better way to achieve what Iā€™m after?

Edit: here is the report_call output:

1 Like

Could you show the output from @report_call?

Sure! Added to the original post.

Seems unnecessary, report a bug to StaticArrays.jl.