From e2b30976cdaccf9d2b9820fefa22ced03c82711f Mon Sep 17 00:00:00 2001 From: Tanner Robison Date: Mon, 6 Jul 2026 10:35:32 -0700 Subject: readout layer trained verified with time-series forecasting task and plotted --- spires_tutorial.c | 1 + 1 file changed, 1 insertion(+) (limited to 'spires_tutorial.c') diff --git a/spires_tutorial.c b/spires_tutorial.c index 758b5ea..f4eba10 100644 --- a/spires_tutorial.c +++ b/spires_tutorial.c @@ -44,6 +44,7 @@ int main(void) { /* 4. Train with ridge regression */ s = spires_train_ridge(r, input_train, target_train, N_TRAIN, 1e-6); + if (s != SPIRES_OK) { fprintf(stderr, "Training failed: %d\n", s); spires_reservoir_destroy(r); -- cgit v1.2.3