Commit 1699d4f5 authored by Davis King's avatar Davis King

Minor change to avoid a compiler warning from gcc.

parent 16ad7a7a
...@@ -406,8 +406,8 @@ namespace dlib ...@@ -406,8 +406,8 @@ namespace dlib
double temp = 0; double temp = 0;
for (unsigned long i = 0; i < a.size(); ++i) for (unsigned long i = 0; i < a.size(); ++i)
{ {
if (a[i] >= 0 && b[i] >= 0 || if ((a[i] >= 0 && b[i] >= 0) ||
a[i] < 0 && b[i] < 0) (a[i] < 0 && b[i] < 0))
{ {
temp += 1; temp += 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment