Commit b7e8a26
authored
Fix InitRandomPerBox for 1D & 2D (#3527)
## Summary
Fixing an array bounds violation for `RealBox` in <3D for
`InitRandomPerBox`.
RealBox: SPACE include added for nD macros used within it.
## Additional background
Seen in pyAMReX 1D and 2D builds.
## Checklist
The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriate1 parent 6d862f2 commit b7e8a26
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
| 1387 | + | |
1386 | 1388 | | |
1387 | 1389 | | |
1388 | 1390 | | |
| |||
0 commit comments