Skip to content

Commit 5da66ee

Browse files
larsbratholmandersx
authored andcommitted
continue->cycle (qmlcode#92)
1 parent 4306b01 commit 5da66ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

qml/representations/facsf.f90

+2-2
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ subroutine fgenerate_acsf(coordinates, nuclear_charges, elements, &
125125
do j = 1, nelements
126126
if (nuclear_charges(i) .eq. elements(j)) then
127127
element_types(i) = j
128-
continue
128+
cycle
129129
endif
130130
enddo
131131
enddo
@@ -326,7 +326,7 @@ subroutine fgenerate_acsf_and_gradients(coordinates, nuclear_charges, elements,
326326
do j = 1, nelements
327327
if (nuclear_charges(i) .eq. elements(j)) then
328328
element_types(i) = j
329-
continue
329+
cycle
330330
endif
331331
enddo
332332
enddo

0 commit comments

Comments
 (0)