Skip to content

Commit

Permalink
Fix backward compatibility of .chk file
Browse files Browse the repository at this point in the history
 * Specify `len=20` when defining `checkpoint` variable in src/readwrite.F90
  • Loading branch information
npaulish committed Sep 26, 2024
1 parent c1de9d4 commit f20ee86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readwrite.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ subroutine w90_readwrite_read_chkpt_header(exclude_bands, kmesh_info, kpt_latt,
real(kind=dp), intent(in) :: real_lattice(3, 3)

character(len=*), intent(in) :: seedname
character(len=*), intent(inout) :: checkpoint
character(len=20), intent(inout) :: checkpoint

logical, intent(in) :: ispostw90 ! Are we running postw90?
logical, intent(out) :: have_disentangled
Expand Down

0 comments on commit f20ee86

Please sign in to comment.