From fe1abed702fe03c6e84fa1f44b88e40604d923ce Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Wed, 6 Jul 2016 16:11:12 -0400 Subject: [PATCH] fix lint error --- src/caffe/util/bbox_util.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/caffe/util/bbox_util.cpp b/src/caffe/util/bbox_util.cpp index 82159df3..ef3dcf30 100644 --- a/src/caffe/util/bbox_util.cpp +++ b/src/caffe/util/bbox_util.cpp @@ -1137,7 +1137,8 @@ void VisualizeBBox(const vector& images, const Blob* detections, return; } // Comute FPS. - float fps = num_img / (double(clock() - start_clock) / CLOCKS_PER_SEC); + float fps = num_img / (static_cast(clock() - start_clock) / + CLOCKS_PER_SEC); start_clock = clock(); const Dtype* detections_data = detections->cpu_data();