Skip to content

MaxArrayDims is incorrect - fix or remove it #4565

Closed

Description

@vasslitvinov

The Bug

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

  1. added
    bug
    on Jun 9, 2025
  2. ajpotts commented on Jun 10, 2025

    @ajpotts
    Contributor

    I'm leaning towards removing it, and if the max rank is needed, creating a procedure to compute it from the compiled ranks.

  3. added a commit that references this issue on Sep 16, 2025
    a8de158
  4. self-assigned this
    on Sep 16, 2025
  5. added 2 commits that reference this issue on Sep 18, 2025
    06ce299
    558fc58
  6. added a commit that references this issue on Sep 22, 2025
    936048a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions