Commit cabf72f1 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

gui: fix real conversion warning

parent 50a9247d
...@@ -61,7 +61,7 @@ plot_output::operator()(const irt::observer& obs, ...@@ -61,7 +61,7 @@ plot_output::operator()(const irt::observer& obs,
return; return;
} }
while (!xs.empty() && xs.back() == tl) while (!xs.empty() && static_cast<double>(xs.back()) == tl)
pop_data(xs, ys); pop_data(xs, ys);
switch (type) { switch (type) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment