vendredi 8 juin 2018

lambda to std::function conversion now working

What are the possible reasons for a lambda function to std::function conversion not working. I am getting __args#0 = -var-create: unable to create variable object as a response. The problem occurs in this (and similar situations)Fourier test(50, 0, 2 * PI, [](double x) { return x * x; }, 1000); (for) Fourier::Fourier(int N, double p, double q, std::function<double(double)> f, int M)

Aucun commentaire:

Enregistrer un commentaire