Skip to content

Commit

Permalink
Merge pull request #107 from sharc-md/sharc3preview
Browse files Browse the repository at this point in the history
fixed I0 format specifier
  • Loading branch information
maisebastian authored Mar 18, 2024
2 parents e8a3f14 + b800bd2 commit 07e856e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wfoverlap/source/iomod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07e856e

Please sign in to comment.