1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

properly initialise default value of node samplelen

This commit is contained in:
Steffen Vogel 2017-08-31 09:42:12 +02:00
parent 382161b00b
commit e7da1e0a0e

View file

@ -47,6 +47,7 @@ int node_init(struct node *n, struct node_type *vt)
/* Default values */
n->vectorize = 1;
n->samplelen = DEFAULT_SAMPLELEN;
list_push(&vt->instances, n);