diff options
| author | Tim Redfern <tim@eclectronics.org> | 2014-01-21 16:34:54 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2014-01-21 16:34:54 +0000 |
| commit | c10e756720fe30ad2ffdcb54d83737aaad77190b (patch) | |
| tree | b28db9063b80bccbb9d4e5fa8d1bee3fc1d77931 /NT/src/nodes.h | |
| parent | dc2c81dd14933b21e0f4bdad8cdd662c8596a6c2 (diff) | |
variable_array_type connection wrong
Diffstat (limited to 'NT/src/nodes.h')
| -rw-r--r-- | NT/src/nodes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/NT/src/nodes.h b/NT/src/nodes.h index 4b1b2ac..0f885da 100644 --- a/NT/src/nodes.h +++ b/NT/src/nodes.h @@ -45,7 +45,10 @@ namespace Rotor{ }; const double &get_output(const Frame_parameters &frame){ result=1.0f; - for (auto var:factors->get_values()) result*=var.get(frame); + for (auto val:factors->get_values()) { + std::cerr<<"got value: "<<val.get(frame)<<std::endl; + result*=val.get(frame); + } return result; } Multiply* clone(Json::Value &_settings) { return new Multiply(_settings);}; |
