Commit d2c454b4 authored by Philipp Haim's avatar Philipp Haim

Fix new finalize method

parent 4d5cfe1a
Pipeline #65241 passed with stages
in 14 minutes and 15 seconds
...@@ -455,7 +455,7 @@ class CorrelatedFieldMaker: ...@@ -455,7 +455,7 @@ class CorrelatedFieldMaker:
for ii in range(n_amplitudes): for ii in range(n_amplitudes):
co = ContractionOperator(hspace, spaces[:ii] + spaces[ii + 1:]) co = ContractionOperator(hspace, spaces[:ii] + spaces[ii + 1:])
pp = self._a[ii].target[amp_space] pp = self._a[ii].target[amp_space]
pd = PowerDistributor(pp.harmonic_partner, pp, amp_space) pd = PowerDistributor(co.target, pp, amp_space)
a.append(co.adjoint @ pd @ self._a[ii]) a.append(co.adjoint @ pd @ self._a[ii])
corr = reduce(mul, a) corr = reduce(mul, a)
return ht(azm*corr*ducktape(hspace, None, self._prefix + 'xi')) return ht(azm*corr*ducktape(hspace, None, self._prefix + 'xi'))
......
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