aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-06-01 17:09:38 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-06-01 17:09:38 +0200
commit6ff1d92bbb5c6860eb17b7922728835021aad8f9 (patch)
tree696e1addb06a1c29200ada1450e13a2f94c74603 /src
parentcd8781f4f3e63601ab907e361180ef0a49d133a6 (diff)
downloadfortran-assignment2-6ff1d92bbb5c6860eb17b7922728835021aad8f9.tar.gz
fortran-assignment2-6ff1d92bbb5c6860eb17b7922728835021aad8f9.zip
also include frequency values in output
Diffstat (limited to 'src')
-rw-r--r--src/f1.f902
1 files changed, 1 insertions, 1 deletions
diff --git a/src/f1.f90 b/src/f1.f90
index 1c3ced5..e1e621e 100644
--- a/src/f1.f90
+++ b/src/f1.f90
@@ -62,7 +62,7 @@ PROGRAM test
DO i = 1, ncomplex
- write(*,*) abs(arr_complex(i))
+ write(*,*) i - 1, " ", abs(arr_complex(i))
END DO