Skip to content

Commit

Permalink
Fix parsing issue for xtb-style constraint reference= (crest-lab#392)
Browse files Browse the repository at this point in the history
  • Loading branch information
pprcht authored Jan 17, 2025
2 parents 40600d5 + 2375d31 commit cfbee30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parsing/parse_xtbinput.f90
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ subroutine get_xtb_constraint_block(env,blk)

case ('reference')
!> a reference geometry (must be the same molecule as the input)
call env%ref%to(mol)
call molref%open(kv%rawvalue)
if (any(mol%at(:) .ne. molref%at(:))) then
write (stdout,'(a,/,a)') '**ERROR** while reading xtb-style input:',&
Expand Down

0 comments on commit cfbee30

Please sign in to comment.