From 0bcb4058f5dea947a4ab7c05b8723eaaa9a51e60 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Mon, 12 Aug 2013 10:44:46 -0400 Subject: [PATCH] CrossValidation decrement bug fix --- openbr/plugins/validate.cpp | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/openbr/plugins/validate.cpp b/openbr/plugins/validate.cpp index 51a924c..e47a728 100644 --- a/openbr/plugins/validate.cpp +++ b/openbr/plugins/validate.cpp @@ -80,6 +80,7 @@ class CrossValidateTransform : public MetaTransform } } else if (partitions[j] == i) { partitionedData.removeAt(j); + j--; } else j--; } // Train on the remaining templates -- libgit2 0.21.4