1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

change area() emptiness checks to empty()

This commit is contained in:
tompollok
2018-10-13 21:35:10 +02:00
parent 429a643f42
commit 0b77600718
15 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -562,9 +562,9 @@ static inline void PrintTo(const ConvParamID& v, std::ostream* os)
*os << ", S=" << ((Size)p.stride);
if (((Size)p.dilation).area() != 1)
*os << ", D=" << ((Size)p.dilation);
if (((Size)p.pad).area() != 0)
if (!((Size)p.pad).empty())
*os << ", P=" << ((Size)p.pad);
if (((Size)p.padAdjust).area() != 0)
if (!((Size)p.padAdjust).empty())
*os << ", PAdj=" << ((Size)p.padAdjust);
if (!((std::string)p.padMode).empty())
*os << ", PM=" << ((std::string)p.padMode);