Commit ccfe3dc0 authored by Davis King's avatar Davis King

Added cast to avoid compiler warning in visual studio 2010

parent 26681283
...@@ -131,7 +131,7 @@ namespace dlib ...@@ -131,7 +131,7 @@ namespace dlib
if (cur_time != last_time) if (cur_time != last_time)
{ {
last_time = cur_time; last_time = cur_time;
double delta_t = cur_time - start_time; double delta_t = static_cast<double>(cur_time - start_time);
double delta_val = std::abs(cur - first_val); double delta_val = std::abs(cur - first_val);
// don't do anything if cur is equal to first_val // don't do anything if cur is equal to first_val
......
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