From fd7833780d440ee9ba063c61f47229b3be3c9f2f Mon Sep 17 00:00:00 2001 From: Johnnie Gray Date: Tue, 17 Sep 2024 18:08:18 -0700 Subject: [PATCH] fix for symmray support --- quimb/tensor/tensor_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quimb/tensor/tensor_core.py b/quimb/tensor/tensor_core.py index 9e14e174..ccb6737b 100644 --- a/quimb/tensor/tensor_core.py +++ b/quimb/tensor/tensor_core.py @@ -4185,7 +4185,7 @@ def conj(self, mangle_inner=False, inplace=False): append = None if mangle_inner is True else str(mangle_inner) tn.mangle_inner_(append) - if hasattr(next(iter(tn.tensor_map.values())), "phase_flip"): + if hasattr(next(iter(tn.tensor_map.values())).data, "phase_flip"): # need to phase dual outer indices outer_inds = tn.outer_inds() for t in tn: