home › Forums › # Technical Support › Error in fuzzylite 5.x C++ › Reply To: Error in fuzzylite 5.x C++
July 3, 2015 at 13:36
#1900
Keymaster
Hi,
your problem is you copied and pasted without modifying variables. Check InputVariables d4-d10 utilise d3 instead of their respective variable.
For example:
InputVariable* d9 = new InputVariable;
d3->setInputValue(0.0);
d3->setName("d9");
d3->setRange(0.0, 1.0);
d3->addTerm(low);
d3->addTerm(high);
engine->addInputVariable(d9);