mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-20 04:25:42 +08:00
fixed warnings
This commit is contained in:
@@ -136,7 +136,7 @@ namespace cv{
|
||||
}
|
||||
|
||||
_logweight.create(1,_particles.rows);
|
||||
_logweight.setTo(-log(_particles.rows));
|
||||
_logweight.setTo(-log((double)_particles.rows));
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user