Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array low bound calculation #3

Open
ChristopherBignamini opened this issue Apr 8, 2022 · 0 comments
Open

Array low bound calculation #3

ChristopherBignamini opened this issue Apr 8, 2022 · 0 comments

Comments

@ChristopherBignamini
Copy link
Owner

m_dim.push_back(CFI_dim_t{i_cdesc_t.dim[i].lower_bound+1, i_cdesc_t.dim[i].extent, i_cdesc_t.dim[i].sm});

+1 is needed otherwise a 0 low bound array is stored, also if the original fortran array is a 1 low bound one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant