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:
parent
382161b00b
commit
e7da1e0a0e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue