Hi
Thank you for your very interesting library.
I am trying to use Fuzzylite in C#. Using CMake a VS C++ version is created and I resolved a few error messages, but these are remained.
========================= CODE ===================================================================
scalar BoundedSum::compute(scalar a, scalar b) const {
return Op::min(1.0, a + b);
}
—————————- ERROR Message ——————————————————————
error C2782: ‘T fl::Operation::min(T,T)’ : template parameter ‘T’ is ambiguous
================================ CODE ============================================================
this->operators[“~”] = new Operator(“~”, fl::Op::negate, p, 1);
———————– Error ——————————————————————
cannot convert argument 2 from ‘fl::scalar (__cdecl *)(fl::scalar)’ to ‘fl::Function::Unary’
What is the best way to resolve those.