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
When iterating over a tuple of indices and using those indices to get an item from an array stored in a jitclass the code fails if the loop uses literal_unroll.
Thanks for the report, I can reproduce. Pretty sure that the cause is that jitclass isn't considered in the implementation and the reason the above is failing is because the getitem resolves to a getattr on the jitclass and not the data itself. This should be fixable.
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).
When iterating over a tuple of indices and using those indices to get an item from an array stored in a jitclass the code fails if the loop uses
literal_unroll
.Error message:
Failed in nopython mode pipeline (step: handles literal_unroll)\n"Failed in literal_unroll_subpipeline mode pipeline (step: performs mixed container unroll)\n'args'"
Full error message:
The text was updated successfully, but these errors were encountered: