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 too small? #8

Open
pawosm-arm opened this issue Sep 2, 2024 · 0 comments
Open

Array too small? #8

pawosm-arm opened this issue Sep 2, 2024 · 0 comments

Comments

@pawosm-arm
Copy link

real(rp) :: www (nslices,-1:nxp2,1,nz) where nxp2 is nx + 2 while nxp3 is nx + 3.

if (k == 1) www(sl,i,j,nz) = 0. where do i=-1,nxp3.

IMO the www array is too small, it will fail randomly, likely it will not fail when compiled with gfortran, but this is only matter of luck, and well written programs should not rely on luck.

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