diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-11-17 01:12:32 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-11-17 01:12:50 +0300 |
commit | 1e4d1eb3982831527204272ff8f45cae4e069381 (patch) | |
tree | 7033a7c36908e2b10fb04619dda3a36cc1863d32 /intern/cycles/session/session.cpp | |
parent | b496c1c721a38589220d5a2916b4738af91312b6 (diff) |
Fix another Linux build error with double and float comparison
Diffstat (limited to 'intern/cycles/session/session.cpp')
-rw-r--r-- | intern/cycles/session/session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/session/session.cpp b/intern/cycles/session/session.cpp index 170af5c70b6..65c46d0dd3c 100644 --- a/intern/cycles/session/session.cpp +++ b/intern/cycles/session/session.cpp @@ -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; } |