From 48b6ad08bd684e2deb68ebcfdd5ead53adf277df Mon Sep 17 00:00:00 2001 From: Seyed Ali Ghasemi Date: Sat, 30 Dec 2023 16:43:50 +0100 Subject: [PATCH] Bug fix --- example/example2.f90 | 2 +- example/example4.f90 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/example/example2.f90 b/example/example2.f90 index 8b7516b..35d0561 100644 --- a/example/example2.f90 +++ b/example/example2.f90 @@ -11,7 +11,7 @@ program example2 do nl = 1, nloops call sleep(1) ! Perform operations ntimes end do - call t%timer_stop(nloops = n, message = 'Elapsed time:') ! nloops and message are optional. + call t%timer_stop(nloops = nloops, message = 'Elapsed time:') ! nloops and message are optional. call t%timer_write('example/example2_etimes') ! Optionally, write the elapsed time to a file end program example2 diff --git a/example/example4.f90 b/example/example4.f90 index 46d5cba..f6fb4cc 100644 --- a/example/example4.f90 +++ b/example/example4.f90 @@ -11,7 +11,7 @@ program example4 do nl = 1, nloops call sleep(1) ! Perform operations ntimes end do - call t%ctimer_stop(nloops = n, message = 'CPU time:') ! nloops and message are optional + call t%ctimer_stop(nloops = nloops, message = 'CPU time:') ! nloops and message are optional call t%ctimer_write('example/example4_ctimes') ! Optionally, write the elapsed time to a file end program example4