Skip to content

Commit

Permalink
Fix ICE for ifx 2024.1.0 (#1106)
Browse files Browse the repository at this point in the history
Signed-off-by: Igor S. Gerasimov <[email protected]>
  • Loading branch information
foxtran authored Nov 1, 2024
1 parent e39b5ca commit 3956a0e
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 3956a0e

Please sign in to comment.