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