Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
weiliu89 committed Jul 6, 2016
1 parent 2125bbd commit fe1abed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/caffe/util/bbox_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,8 @@ void VisualizeBBox(const vector<cv::Mat>& images, const Blob<Dtype>* detections,
return;
}
// Comute FPS.
float fps = num_img / (double(clock() - start_clock) / CLOCKS_PER_SEC);
float fps = num_img / (static_cast<double>(clock() - start_clock) /
CLOCKS_PER_SEC);
start_clock = clock();

const Dtype* detections_data = detections->cpu_data();
Expand Down

0 comments on commit fe1abed

Please sign in to comment.