code cleanup: quiet double promotion warnings

This commit is contained in:
2012-11-07 23:52:33 +00:00
parent c0fb605a04
commit 353ad46e10
3 changed files with 3 additions and 3 deletions

View File

@@ -818,7 +818,7 @@ bool Session::update_progressive_refine(bool cancel)
double current_time = time_dt();
if (current_time - last_update_time < 1.0f) {
if (current_time - last_update_time < 1.0) {
/* if last sample was processed, we need to write buffers anyway */
if (!write)
return false;