mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 09:25:45 +08:00
Fixed Compilation warnings | Issue #16336
This commit is contained in:
parent
86e5e8d765
commit
ac9f8c1f41
@ -1192,7 +1192,7 @@ _Tp Point_<_Tp>::dot(const Point_& pt) const
|
||||
template<typename _Tp> inline
|
||||
double Point_<_Tp>::ddot(const Point_& pt) const
|
||||
{
|
||||
return (double)x*pt.x + (double)y*pt.y;
|
||||
return (double)x*(double)(pt.x) + (double)y*(double)(pt.y);
|
||||
}
|
||||
|
||||
template<typename _Tp> inline
|
||||
|
Loading…
Reference in New Issue
Block a user