Commit 79546637 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Remove the 'origin_' data member from the ShiftedSumFunctional class

It is not actually used.
parent b9a0d52c
Pipeline #4884 failed with stage
in 14 seconds
......@@ -102,8 +102,7 @@ public:
using Functions = ShiftedFunctionTuple;
ShiftedSumFunctional(const F&... f, const Vector& origin) :
shiftedFunctions_(shift(f, origin)...),
origin_(&origin)
shiftedFunctions_(shift(f, origin)...)
{}
Range operator()(const Vector& v) const
......@@ -137,7 +136,6 @@ public:
private:
ShiftedFunctionTuple shiftedFunctions_;
const Vector* origin_;
};
......
Supports Markdown
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