Skip to content

Commit

Permalink
format f10. needed if p=5
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagnin committed Oct 30, 2021
1 parent 94fac6c commit 76eeaf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taptempo.f90
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ subroutine measure_tempo
integer :: i
real(wp), dimension(s) :: t ! Time FIFO stack
integer :: oldest
character(len=25) :: fmt
character(len=27) :: fmt

! Format used for printing the tempo:
write(fmt, '(A, I1, A)') '("Tempo: ", f8.', p, ', " BPM")'
write(fmt, '(A, I1, A)') '("Tempo: ", f10.', p, ', " BPM")'
! Stack initialization:
t = 0

Expand Down

0 comments on commit 76eeaf8

Please sign in to comment.