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
If a geometry generator is switched out and the material indices array is not correctly updated, you can either have a silent error (where potentially the wrong material is applied) or a pretty esoteric error like
ERROR: LoadError: BoundsError: attempt to access NTuple{4, Int64} at index [5]
but vaguely inside smooth_\varepsilon somewhere.
Adding an explicit check or assertion that the number of provided material indices matches the number of geometric objects would make debugging both these errors much faster.
The text was updated successfully, but these errors were encountered:
If a geometry generator is switched out and the material indices array is not correctly updated, you can either have a silent error (where potentially the wrong material is applied) or a pretty esoteric error like
but vaguely inside
smooth_\varepsilon
somewhere.Adding an explicit check or assertion that the number of provided material indices matches the number of geometric objects would make debugging both these errors much faster.
The text was updated successfully, but these errors were encountered: