Commit 16dd655d authored by Marius Muja's avatar Marius Muja

Fixing ticket #1366

parent 281b9538
...@@ -630,6 +630,8 @@ struct HistIntersectionDistance ...@@ -630,6 +630,8 @@ struct HistIntersectionDistance
while (a < last) { while (a < last) {
min0 = (ResultType)(*a < *b ? *a : *b); min0 = (ResultType)(*a < *b ? *a : *b);
result += min0; result += min0;
++a;
++b;
} }
return result; return result;
} }
......
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