Skip to content

Direct-C: 2D array shape returned incorrectly #334

@krystophny

Description

@krystophny

Direct-C returns wrong shape for 2D allocatable arrays (shows (0,0) instead of actual size).

Reproduction: (requires #329 fixed first)

cd f90wrap/examples/default_i8
make -f Makefile.meson DIRECTC=yes clean test

Error: IndexError: index 0 is out of bounds for axis 1 with size 0

Affected: default_i8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions