mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Don't rely on type deduction for std::function ctor
Didn't work on MacOSX 12.4
This commit is contained in:
parent
1497404a4c
commit
8f33f4fed8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user