Commit 97dad870 authored by Lasse Hinrichsen's avatar Lasse Hinrichsen
Browse files

Dont use proxy types as members

parent a01486dd
Pipeline #37110 failed with stage
in 2 minutes and 38 seconds
......@@ -295,7 +295,7 @@ public:
friend auto coordinateRestriction(const SemilinearFunctional& f,
const Index& i)
{
using BT = std::decay_t<decltype(f.weights_[0])>;
using BT = std::decay_t<decltype(autoCopy(f.weights_[0]))>;
// TODO: This will of course leave out the constant contributions in the
// other components. But since the minimization is independent from these,
// why bother?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment