From 318ba67bf91c07ff1edd0f2547b49d80ef9e0f83 Mon Sep 17 00:00:00 2001 From: Comment Date: Mon, 19 Aug 2013 10:43:52 +0100 Subject: fix parameter attribute definition --- rotord/src/rotor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rotord/src/rotor.h') diff --git a/rotord/src/rotor.h b/rotord/src/rotor.h index 199d960..f7d6861 100755 --- a/rotord/src/rotor.h +++ b/rotord/src/rotor.h @@ -176,7 +176,8 @@ namespace Rotor { } for (auto p: parameters){ if (find_setting(settings,p.first,"")!="") { - parameters[p.first]->init(find_setting(settings,p.first,0)); + parameters[p.first]->init(find_setting(settings,p.first,0.0f)); + cerr<<"setting parameter "<