aboutsummaryrefslogtreecommitdiff
path: root/include/spiral.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/spiral.h')
-rw-r--r--include/spiral.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/spiral.h b/include/spiral.h
index 5ed315e..2b8e3ea 100644
--- a/include/spiral.h
+++ b/include/spiral.h
@@ -1,7 +1,6 @@
#pragma once
-#include "utils.h"
-#include "dynmlp.h"
+#include "dynnet.h"
typedef struct {
double **z0;
@@ -12,6 +11,6 @@ typedef struct {
Dataset generate_spiral_dataset(int num_samples, double t0, double t1,
double noise_std, RNG *r);
void dataset_free(Dataset *ds);
-double evaluate(const DynMLP *net, const double *theta,
+double evaluate(DynNet *net, const double *theta,
const Dataset *ds, double t0, double t1,
double atol, double rtol);