From b800bd2adcc0b8ca8bc937d362995e710933fa9c Mon Sep 17 00:00:00 2001 From: Sebastian Mai Date: Mon, 18 Mar 2024 08:25:17 +0100 Subject: [PATCH] fixed I0 format specifier --- wfoverlap/source/iomod.f90 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wfoverlap/source/iomod.f90 b/wfoverlap/source/iomod.f90 index aa10fa2..9539961 100644 --- a/wfoverlap/source/iomod.f90 +++ b/wfoverlap/source/iomod.f90 @@ -184,12 +184,12 @@ SUBROUTINE read_civec_native(file,coefs,SSD_a,SSD_b,nMO,nSD,nstate,nelec,nalpha, STOP 1 END IF ! semi-elegant: read the first determinant string to get the number of electrons - WRITE(formatspec,'( "(A",I,")" )') nMO + WRITE(formatspec,'( "(A",I0,")" )') nMO READ(detflio,formatspec,IOSTAT=iost)detstring IF(debug)THEN WRITE(6,*) '"'//trim(detstring)//'"' ENDIF - WRITE(formatspec,'( "(A",I,",A)" )') nMO + WRITE(formatspec,'( "(A",I0,",A)" )') nMO na=0 nb=0