mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-04-16 08:18:35 -04:00
make sure not zero
This commit is contained in:
parent
51539952b7
commit
afd97aeb68
@ -284,6 +284,7 @@ double FoxLog::rate_last_n(int n)
|
||||
// size / (time_now - time_of_first)
|
||||
m_->rate_n_query_.last();
|
||||
rate_interval = secs_now - m_->rate_n_query_.value (0).toLongLong ();
|
||||
if (rate_interval == 0) return 0.0;
|
||||
|
||||
m_->rate_n_query_.first(); // count the records
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user