We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2dfc9 commit b003080Copy full SHA for b003080
test/example/array/demo_falseloc.f90
@@ -4,5 +4,5 @@ program demo_falseloc
4
real, allocatable :: array(:)
5
allocate (array(-200:200))
6
call random_number(array)
7
- array(falseloc(array < 0.5), lbound(array)) = 0.0
+ array(falseloc(array < 0.5, lbound(array,1))) = 0.0
8
end program demo_falseloc
0 commit comments