home › Forums › # Technical Support › Can not convert scalar to unary › Reply To: Can not convert scalar to unary
February 21, 2014 at 17:35
#962
Keymaster
Hi,
Can you use fuzzylite in C#? What kind of changes did you have to make to compile for C#?
As for the errors, could you try this:
For first error:
scalar BoundedSum::compute(scalar a, scalar b) const {
return Op::min(scalar(1.0), a + b);
}
For second error:
this->operators["~"] = new Operator("~", &(fl::Op::negate), p, 1);
Cheers.
-
This reply was modified 9 years, 7 months ago by
Juan Rada-Vilela (admin).