aboutsummaryrefslogtreecommitdiff
path: root/src/ann_som.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ann_som.c')
-rw-r--r--src/ann_som.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ann_som.c b/src/ann_som.c
index f1da9fc..65a8682 100644
--- a/src/ann_som.c
+++ b/src/ann_som.c
@@ -329,9 +329,6 @@ static void som_dump(t_som *x, t_float nf){
outlet_list(x->x_obj.ob_outlet, &s_list, x->num_sensors, ap);
freebytes(ap, x->num_sensors*sizeof(t_atom));
-
-
-
}
static void som_makenewsom(t_som *x, t_symbol *s, int argc, t_atom *argv)
@@ -757,6 +754,8 @@ static void som_setup(void)
class_addmethod(som_class, (t_method)som_read, gensym("read"), A_GIMME, 0);
class_addmethod(som_class, (t_method)som_write, gensym("write"), A_GIMME, 0);
+ class_addmethod(som_class, (t_method)som_dump, gensym("dump"), A_FLOAT, 0);
+
class_addmethod(som_class, (t_method)som_print, gensym("print"), 0);
class_addmethod(som_class, (t_method)som_help, gensym("help"), 0);
class_sethelpsymbol(som_class, gensym("som"));