Skip to content

Commit

Permalink
Fix ICE for ifx 2024.1.0
Browse files Browse the repository at this point in the history
Signed-off-by: Igor S. Gerasimov <i.s.ger@ya.ru>
  • Loading branch information
foxtran committed Sep 24, 2024
1 parent a492d7a commit dc72038
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/constrain_pot.f90
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ subroutine constrain_dist(fix,n,at,xyz,g,e)
mm = 2*m-1
i = fix%atoms(mm)
j = fix%atoms(mm+1)
if (i == j) cycle ! workaround for ifx 2024.1.0
r0= fix%val(m)
rij=xyz(:,j)-xyz(:,i)
r = norm2(rij)
Expand Down

0 comments on commit dc72038

Please sign in to comment.