Skip to content
Snippets Groups Projects
Commit b9b6b5f5 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Don't rely on constexpr lambdas

This is to appease clang 3.8
parent 72f9bb33
No related branches found
No related tags found
1 merge request!17Avoid allocating extra vector in matrix-free applyscaleadd()
Pipeline #19666 passed
......@@ -75,7 +75,7 @@ namespace PPS {
//! apply operator to x: \f$ y = A(x) \f$
void apply (const X& x, Y& y) const override
{
static constexpr auto id = [](auto v){ return v; };
auto id = [](auto v){ return v; };
y = 0;
go_->nonlinear_jacobian_apply(linearizationPoint_, x, y, id);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment