Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
f0c89521
Commit
f0c89521
authored
Dec 01, 2019
by
Philipp Haim
Browse files
Fix property amplitude
parent
5a83ad0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty6/library/correlated_fields.py
View file @
f0c89521
...
...
@@ -523,7 +523,7 @@ class CorrelatedFieldMaker:
' no unique set of amplitudes exist because only the'
,
' relative scale is determined.'
)
raise
NotImplementedError
(
s
)
expand
=
Vdot
Operator
(
full
(
self
.
_a
[
0
].
target
,
1
)
)
.
adjoint
expand
=
Contraction
Operator
(
self
.
_a
[
0
].
target
,
1
).
adjoint
return
self
.
_a
[
0
]
*
(
expand
@
self
.
amplitude_total_offset
)
@
property
...
...
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