From 6fa450d7d56cf3535648fb02f92f042df6c928fc Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 20 Feb 2015 16:39:52 +0100 Subject: fixed some memory leaks and made prctile actual percentile --- include/gensvm_train_dataset.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/gensvm_train_dataset.h b/include/gensvm_train_dataset.h index 0dc4319..d201aa5 100644 --- a/include/gensvm_train_dataset.h +++ b/include/gensvm_train_dataset.h @@ -18,6 +18,10 @@ #include "globals.h" #include "types.h" +// forward declarations +struct GenData; +struct GenModel; + /** * @brief A structure for a single task in the queue. * @@ -142,6 +146,4 @@ void start_training(struct Queue *q); double gensvm_cross_validation(struct GenModel *model, struct GenData **train_folds, struct GenData **test_folds, int folds, long n_total); - - #endif -- cgit v1.2.3