diff --git a/nifty6/library/correlated_fields.py b/nifty6/library/correlated_fields.py index 656fac7cc85ebd617f70ff73dee3df7b657dd468..63a710fd9c3ae9d38d9392c568ca426fda47e327 100644 --- a/nifty6/library/correlated_fields.py +++ b/nifty6/library/correlated_fields.py @@ -520,7 +520,8 @@ class CorrelatedFieldMaker: ' no unique set of amplitudes exist because only the', ' relative scale is determined.') raise NotImplementedError(s) - expand = ContractionOperator(self._a[0].target, 1).adjoint + dom = self._a[0].target + expand = ContractionOperator(dom, len(dom)-1).adjoint return self._a[0]*(expand @ self.amplitude_total_offset) @property