Fix another Linux build error with double and float comparison

This commit is contained in:
Brecht Van Lommel 2021-11-16 23:12:32 +01:00
parent b496c1c721
commit 1e4d1eb398
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ void Session::set_display_driver(unique_ptr<DisplayDriver> driver)
double Session::get_estimated_remaining_time() const
{
const double completed = progress.get_progress();
if (completed == 0.0f) {
if (completed == 0.0) {
return 0.0;
}