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
{{ message }}
Repository navigation
MaxArrayDims is incorrect - fix or remove it #4565
The config param MaxArrayDims can easily be inconsistent with the set of functions cloned by the registration framework. For example, registration-config.json may request array dimensions 1, 2, 3 and MaxArrayDims may still have the default of 1.
Furthermore, MaxArrayDims cannot describe the situation where registration-config.json requests array dimensions 1 and 3.
Currently MaxArrayDims is used only for error reporting. It also appears in the output of a "get configuration" command. So removing it may cause issues with backward compatibility.
Alternative Solution
Instead of removing it, we could connect it to the registration framework and require that it clones the functions for all consecutive array ranks.
Activity
ajpotts commentedon Jun 10, 2025
I'm leaning towards removing it, and if the max rank is needed, creating a procedure to compute it from the compiled ranks.
Closes Bears-R-Us#4565: MaxArrayDims is incorrect - fix or remove it
Closes Bears-R-Us#4565: MaxArrayDims is incorrect - fix or remove it
Closes Bears-R-Us#4565: MaxArrayDims is incorrect - fix or remove it
Closes #4565: MaxArrayDims is incorrect - fix or remove it (#4914)