mirror of https://github.com/davisking/dlib.git
Minor change to avoid a compiler warning from gcc.
This commit is contained in:
parent
16ad7a7a3c
commit
1699d4f5d7
|
@ -406,8 +406,8 @@ namespace dlib
|
|||
double temp = 0;
|
||||
for (unsigned long i = 0; i < a.size(); ++i)
|
||||
{
|
||||
if (a[i] >= 0 && b[i] >= 0 ||
|
||||
a[i] < 0 && b[i] < 0)
|
||||
if ((a[i] >= 0 && b[i] >= 0) ||
|
||||
(a[i] < 0 && b[i] < 0))
|
||||
{
|
||||
temp += 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue