Commit 8eebb8e
committed
fix: use DBADDIAOPT for array SILO options (lo_offset, hi_offset)
DBADDIOPT expects a scalar integer, but lo_offset and hi_offset are
arrays (size 1-3 depending on dimensionality). This passes an array
where SILO expects a scalar pointer, so only the first element is read.
Use DBADDIAOPT (integer array option) instead, which takes the array
length and pointer. This fixes gfortran rank mismatch warnings and
ensures all dimension offsets are correctly written to SILO files.1 parent 336487c commit 8eebb8e
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
493 | | - | |
| 492 | + | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
505 | | - | |
| 504 | + | |
| 505 | + | |
506 | 506 | | |
507 | 507 | | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | | - | |
| 511 | + | |
| 512 | + | |
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| |||
0 commit comments