Fix some mistakes in timer and output format

This commit is contained in:
2023-07-27 18:40:04 +02:00
parent 7f7ddad36a
commit b03e84044a
4 changed files with 28 additions and 24 deletions

View File

@@ -15,7 +15,6 @@ KFold::KFold(int k, int n, int seed) : Fold(k, n, seed)
}
pair<vector<int>, vector<int>> KFold::getFold(int nFold)
{
if (nFold >= k || nFold < 0) {
throw out_of_range("nFold (" + to_string(nFold) + ") must be less than k (" + to_string(k) + ")");
}