aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/Mutation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/Mutation.cpp b/src/engine/Mutation.cpp
index 776142d..fed2ad4 100644
--- a/src/engine/Mutation.cpp
+++ b/src/engine/Mutation.cpp
@@ -54,7 +54,7 @@ AddNode::mutate(Random& rng, Machine& machine)
//cout << "ADD NODE" << endl;
// Create random node
- SPtr<Node> node(new Node(machine.time().unit()));
+ SPtr<Node> node(new Node(Raul::TimeDuration{machine.time().unit()}));
node->set_selector(true);
SPtr<Node> note_node = machine.random_node();