summaryrefslogtreecommitdiff
path: root/NT/src/nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'NT/src/nodes.h')
-rw-r--r--NT/src/nodes.h5
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);};