Commit 8217b4ac43c0ab67bd84c5acccd138ea70a61fee
Merge branch 'master' of https://github.com/biometrics/openbr into specificity
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/plugins/meta.cpp
| @@ -663,7 +663,7 @@ public: | @@ -663,7 +663,7 @@ public: | ||
| 663 | // waiting thread will wait on them in the order added (which for uniform priority | 663 | // waiting thread will wait on them in the order added (which for uniform priority |
| 664 | // threads is the order of execution), and we want the waiting thread to go in the opposite order | 664 | // threads is the order of execution), and we want the waiting thread to go in the opposite order |
| 665 | // so that it can steal runnables and do something besides wait. | 665 | // so that it can steal runnables and do something besides wait. |
| 666 | - for (int i = temp.size() - 1; i > 0; i--) { | 666 | + for (int i = temp.size() - 1; i >= 0; i--) { |
| 667 | futures.addFuture(temp[i]); | 667 | futures.addFuture(temp[i]); |
| 668 | } | 668 | } |
| 669 | 669 |