Skip to content

Commit b003080

Browse files
jvdp114NGiestas
andauthored
Update test/example/array/demo_falseloc.f90
Co-authored-by: Ian Giestas Pauli <[email protected]>
1 parent 8e2dfc9 commit b003080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/example/array/demo_falseloc.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ program demo_falseloc
44
real, allocatable :: array(:)
55
allocate (array(-200:200))
66
call random_number(array)
7-
array(falseloc(array < 0.5), lbound(array)) = 0.0
7+
array(falseloc(array < 0.5, lbound(array,1))) = 0.0
88
end program demo_falseloc

0 commit comments

Comments
 (0)