Skip to content

Commit

Permalink
normalize pot_ref
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Apr 4, 2022
1 parent 8161401 commit 3135eb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/init.F90
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ subroutine init(dt)
open (150, file=chinput, status='OLD', delim='APOSTROPHE', action="READ")
read (150, general)
rewind (150)

pot = tolower(pot)
pot_ref = tolower(pot_ref)

if (pot == "_cp2k_" .or. pot_ref == "_cp2k_") then
call init_cp2k()
Expand Down

0 comments on commit 3135eb8

Please sign in to comment.