fixed warnings under win32

This commit is contained in:
Maria Dimashova
2010-11-26 10:35:48 +00:00
parent 337f1dd2fa
commit dfe4af9e1d
6 changed files with 32 additions and 32 deletions

View File

@@ -45,7 +45,7 @@ float match(const vector<KeyPoint>& kpts_train, const vector<KeyPoint>& kpts_que
const Mat& train, const Mat& query, vector<DMatch>& matches)
{
float t = (double)getTickCount();
double t = (double)getTickCount();
matcher.match(query, train, matches); //Using features2d
return ((double)getTickCount() - t) / getTickFrequency();
}