Commit c518cb80 authored by paulphilipp.meyer's avatar paulphilipp.meyer
Browse files

Merge branch 'fix-NormSqFunctional' into 'master'

Fix behavior of `NormSqFunctional` for non-zero imaginary parts.

See merge request !1
parents f4111c66 37e8aec1
Pipeline #268750 passed with stage
in 47 seconds
......@@ -17,7 +17,7 @@ methods
function res = evaluate(obj, x)
obj.x_Gramian = obj.GramianHandle(x);
res = 0.5*real(conj(obj.x_Gramian(:))' * x(:));
res = 0.5*real(obj.x_Gramian(:)' * x(:));
end
function res = getGradient(obj)
......
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