aboutsummaryrefslogtreecommitdiff
path: root/src/msvmmaj_train_dataset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/msvmmaj_train_dataset.c')
-rw-r--r--src/msvmmaj_train_dataset.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/msvmmaj_train_dataset.c b/src/msvmmaj_train_dataset.c
index 2f6d77d..e81604e 100644
--- a/src/msvmmaj_train_dataset.c
+++ b/src/msvmmaj_train_dataset.c
@@ -416,9 +416,6 @@ void consistency_repeats(struct Queue *q, long repeats, TrainType traintype)
* used.
*
* @todo
- * The seed model shouldn't have to be allocated completely, since only V is
- * used.
- * @todo
* There must be some inefficiencies here because the fold model is allocated
* at every fold. This would be detrimental with large datasets.
*
@@ -574,6 +571,7 @@ void start_training_cv(struct Queue *q)
free(task);
msvmmaj_free_model(seed_model);
+ msvmmaj_free_model(model);
}
/**