From 1622a1e89f8e07b86f197e4617a4543682bb5377 Mon Sep 17 00:00:00 2001 From: StuartBenjamin Date: Thu, 8 Oct 2026 06:42:18 -0700 Subject: [PATCH] RDCON - BUGFIX - Delta-matrix output formats sized with i0 The delta_gw.out and related Delta-matrix headers used i2.2 for the number of singular surfaces. At 25 or more surfaces the repeat count overflowed to '**' and rdcon crashed writing delta_gw.out. Co-Authored-By: Claude Opus 5.5 --- rdcon/gal.f | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rdcon/gal.f b/rdcon/gal.f index 308dfa0ce..ecf5de727 100644 --- a/rdcon/gal.f +++ b/rdcon/gal.f @@ -1480,9 +1480,9 @@ SUBROUTINE gal_write_delta(delta,name) c----------------------------------------------------------------------- c format statements. c----------------------------------------------------------------------- - 10 FORMAT('(/1x,"i\j",',i2.2,'(4x,"re ",i1,a1,6x,"im ",i1,a1,2x)/)') - 20 FORMAT('(i3,a1,1p,',i2.2,'e11.3)') - 30 FORMAT('(i3,"c",1p,',i2.2,'e11.3)') + 10 FORMAT('(/1x,"i\j",',i0,'(4x,"re ",i1,a1,6x,"im ",i1,a1,2x)/)') + 20 FORMAT('(i3,a1,1p,',i0,'e11.3)') + 30 FORMAT('(i3,"c",1p,',i0,'e11.3)') c----------------------------------------------------------------------- c create formats. c-----------------------------------------------------------------------