Commit f0c89521 authored by Philipp Haim's avatar Philipp Haim
Browse files

Fix property amplitude

parent 5a83ad0a
...@@ -523,7 +523,7 @@ class CorrelatedFieldMaker: ...@@ -523,7 +523,7 @@ class CorrelatedFieldMaker:
' no unique set of amplitudes exist because only the', ' no unique set of amplitudes exist because only the',
' relative scale is determined.') ' relative scale is determined.')
raise NotImplementedError(s) raise NotImplementedError(s)
expand = VdotOperator(full(self._a[0].target, 1)).adjoint expand = ContractionOperator(self._a[0].target, 1).adjoint
return self._a[0]*(expand @ self.amplitude_total_offset) return self._a[0]*(expand @ self.amplitude_total_offset)
@property @property
......
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