Commit 5dd78b56 authored by Lukas Platz's avatar Lukas Platz
Browse files

fix SquaredNormOperator docstring

parent 2e63dd00
Pipeline #61673 passed with stages
in 6 minutes and 54 seconds
......@@ -44,8 +44,8 @@ class EnergyOperator(Operator):
_target = DomainTuple.scalar_domain()
class SquaredNormOperator(EnergyOperator):
"""Computes the L2-norm of the output of an operator.
class Squared2NormOperator(EnergyOperator):
"""Computes the square of the L2-norm of the output of an operator.
......@@ -138,7 +138,7 @@ class GaussianEnergy(EnergyOperator):
raise ValueError("no domain given")
self._mean = mean
if inverse_covariance is None:
self._op = SquaredNormOperator(self._domain).scale(0.5)
self._op = Squared2NormOperator(self._domain).scale(0.5)
self._op = QuadraticFormOperator(inverse_covariance)
self._icov = None if inverse_covariance is None else inverse_covariance
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