Skip to content

Commit

Permalink
Removed useless .0_wp
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagnin committed Oct 29, 2021
1 parent f1cdfd6 commit 72f30c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/taptempo.f90
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ subroutine measure_tempo
! Format used for printing the tempo:
write(fmt, '(A, I1, A)') '("Tempo: ", f8.', p, ', " BPM")'
! Stack initialization:
t = 0.0_wp
t = 0

print '(A)', "Hit Enter key for each beat (q to quit)."

Expand All @@ -115,11 +115,11 @@ subroutine measure_tempo
else
! Verify that the user is actively tapping:
if (t(1) - t(2) <= r) then
print fmt, 60.0_wp / ((t(1) - t(min(i, s))) / (min(i, s)-1))
print fmt, 60 / ((t(1) - t(min(i, s))) / (min(i, s)-1))
else
print '(A)', "Time reset"
i = 1
t(2:s) = 0.0_wp
t(2:s) = 0
end if
end if
end do
Expand Down

0 comments on commit 72f30c6

Please sign in to comment.