home Forums # Technical Support Can not convert scalar to unary Reply To: Can not convert scalar to unary

Juan Rada-Vilela
Juan Rada-Vilela


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);