Commit 0bcb4058f5dea947a4ab7c05b8723eaaa9a51e60

Authored by Scott Klum
1 parent 068b72ad

CrossValidation decrement bug fix

Showing 1 changed file with 1 additions and 0 deletions
openbr/plugins/validate.cpp
... ... @@ -80,6 +80,7 @@ class CrossValidateTransform : public MetaTransform
80 80 }
81 81 } else if (partitions[j] == i) {
82 82 partitionedData.removeAt(j);
  83 + j--;
83 84 } else j--;
84 85 }
85 86 // Train on the remaining templates
... ...