Don't rely on type deduction for std::function ctor

Didn't work on MacOSX 12.4
This commit is contained in:
Matthias Hochsteger 2022-06-08 10:40:19 +02:00
parent 1497404a4c
commit 8f33f4fed8

View File

@ -260,7 +260,7 @@ namespace netgen
double phaser=1.0;
double phasei=0.0;
std::function eval_func = [&](int elnr, const double * lami, Vec<3> & vec)
std::function<bool(int, const double *, Vec<3> &)> eval_func = [&](int elnr, const double * lami, Vec<3> & vec)
{
double values[6] = {0., 0., 0., 0., 0., 0.};
bool drawelem;