aboutsummaryrefslogtreecommitdiff
path: root/measure_times.sh
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-07-24 13:45:58 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-07-24 13:45:58 +0200
commit7e9efcd2e4446f6c51f457640d1a34f52d4b1ab3 (patch)
treefcef69ad6c4919943a2aa121f4309155fe0fef46 /measure_times.sh
parentab59aec0a456d25bedac524be740937fbbe8d5cd (diff)
downloadfortran-assignment3-7e9efcd2e4446f6c51f457640d1a34f52d4b1ab3.tar.gz
fortran-assignment3-7e9efcd2e4446f6c51f457640d1a34f52d4b1ab3.zip
correct polynomial order for gauss
Diffstat (limited to 'measure_times.sh')
-rwxr-xr-xmeasure_times.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/measure_times.sh b/measure_times.sh
index f3a028f..9c85a21 100755
--- a/measure_times.sh
+++ b/measure_times.sh
@@ -42,11 +42,11 @@ for NSU in $NSUBINTERVALS; do
# bash is weird... don't ask me...
TIME=`bash -c "time cafrun -np $NIM ./integrator \
- gauss exp -1 1 2 $NSU" 2>&1 > /dev/null`
+ gauss exp -1 1 1 $NSU" 2>&1 > /dev/null`
if [ $NIM = 1 ]; then
TIME=$TIME\(`bash -c "time ./integrator_single \
- gauss exp -1 1 2 $NSU" 2>&1 > /dev/null`\)
+ gauss exp -1 1 1 $NSU" 2>&1 > /dev/null`\)
fi
printf "%14s\n" $TIME