# Help on reported JET issue when using StaticArrays

**URL:** https://discourse.julialang.org/t/help-on-reported-jet-issue-when-using-staticarrays/107444
**Category:** General Usage
**Tags:** question
**Created:** [December 11, 2023, 2:19pm UTC](https://discourse.julialang.org/t/help-on-reported-jet-issue-when-using-staticarrays/107444 "2023-12-11T14:19:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mestinso](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@mestinso](https://discourse.julialang.org/u/mestinso)
#### Post date: [December 11, 2023, 2:19pm UTC](https://discourse.julialang.org/t/help-on-reported-jet-issue-when-using-staticarrays/107444/1 "2023-12-11T14:19:01Z")

</div>

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:

```julia
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.

```julia
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:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/5/c/5ce3d505b011040d0ffb68f452c9f30107dc98c2.png)

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [December 11, 2023, 3:53pm UTC](https://discourse.julialang.org/t/help-on-reported-jet-issue-when-using-staticarrays/107444/2 "2023-12-11T15:53:50Z")

</div>

Could you show the output from `@report_call`?

---

<div class="post-metadata">

### Author: ![mestinso](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@mestinso](https://discourse.julialang.org/u/mestinso)
#### Post date: [December 11, 2023, 4:29pm UTC](https://discourse.julialang.org/t/help-on-reported-jet-issue-when-using-staticarrays/107444/3 "2023-12-11T16:29:31Z")

</div>

Sure! Added to the original post.

---

<div class="post-metadata">

### Author: ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)
#### Post date: [December 11, 2023, 4:33pm UTC](https://discourse.julialang.org/t/help-on-reported-jet-issue-when-using-staticarrays/107444/4 "2023-12-11T16:33:18Z")

</div>

Seems unnecessary, report a bug to StaticArrays.jl.
