Is there a way to use the 4-argument `@nloops` with `@generated` on Julia 1.6?

I turns out the anonymous function was not the problem. It’s just that the function included a generator, which is problematic for @generated.

1 Like