aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGertjan van den Burg <burg@ese.eur.nl>2014-07-02 13:21:20 +0200
committerGertjan van den Burg <burg@ese.eur.nl>2014-07-02 13:21:20 +0200
commit47b5cab33083557a52ffea167742db1c9877cf20 (patch)
tree04f906ea5c871d86966a01b1f634e4c9ea3491f6 /include
parentfix in grid creation (diff)
downloadgensvm-47b5cab33083557a52ffea167742db1c9877cf20.tar.gz
gensvm-47b5cab33083557a52ffea167742db1c9877cf20.zip
moved realloc around, fix for kernels in trainmsvmmaj and fix memory leak consistency repeats
Diffstat (limited to 'include')
-rw-r--r--include/msvmmaj_init.h1
-rw-r--r--include/msvmmaj_train_dataset.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/msvmmaj_init.h b/include/msvmmaj_init.h
index febfb4a..281214c 100644
--- a/include/msvmmaj_init.h
+++ b/include/msvmmaj_init.h
@@ -21,6 +21,7 @@ struct MajModel *msvmmaj_init_model();
struct MajData *msvmmaj_init_data();
void msvmmaj_allocate_model(struct MajModel *model);
+void msvmmaj_reallocate_model(struct MajModel *model, long n, long m);
void msvmmaj_free_model(struct MajModel *model);
void msvmmaj_free_data(struct MajData *data);
diff --git a/include/msvmmaj_train_dataset.h b/include/msvmmaj_train_dataset.h
index 0889626..95e2c74 100644
--- a/include/msvmmaj_train_dataset.h
+++ b/include/msvmmaj_train_dataset.h
@@ -135,7 +135,5 @@ double cross_validation(struct MajModel *model, struct MajData *data,
void make_model_from_task(struct Task *task, struct MajModel *model);
void copy_model(struct MajModel *from, struct MajModel *to);
-void msvmmaj_reallocate_model(struct MajModel *model, long n, long m);
-
void print_progress_string(struct Task *task, long N);
#endif