Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
661d1746
Commit
661d1746
authored
Jan 16, 2019
by
Philipp Arras
Browse files
Fixup
parent
6a5cf05c
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/energy_operators.py
View file @
661d1746
...
...
@@ -111,7 +111,7 @@ class GaussianEnergy(EnergyOperator):
Mean of the Gaussian. Default is 0.
covariance : LinearOperator
Covariance of the Gaussian. Default is the identity operator.
domain : Domain, DomainTuple
of
tuple of Domain
domain : Domain, DomainTuple
,
tuple of Domain
or MultiDomain
Operator domain. By default it is inferred from `mean` or
`covariance` if specified
...
...
@@ -126,8 +126,6 @@ class GaussianEnergy(EnergyOperator):
if
covariance
is
not
None
and
not
isinstance
(
covariance
,
LinearOperator
):
raise
TypeError
if
domain
is
not
None
:
domain
=
DomainTuple
.
make
(
domain
)
self
.
_domain
=
None
if
mean
is
not
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment