Commit 0e9463c0 authored by Lasse Hinrichsen's avatar Lasse Hinrichsen
Browse files

Bugfix: include factor in subdiff

parent 0317e237
......@@ -217,7 +217,9 @@ public:
auto subDifferential(double pos) const
auto shiftedPos = origin_ + pos;
return phi_.subDifferential(shiftedPos);
auto sd = phi_.subDifferential(shiftedPos);
sd *= weights_;
return sd;
Range operator()(Vector x) const
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