From 7e6108ad278ebe976ac5551c16922116366dbe92 Mon Sep 17 00:00:00 2001 From: Johnnie Gray Date: Tue, 28 Jan 2025 16:59:42 -0800 Subject: [PATCH] fix rel import --- quimb/linalg/approx_spectral.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quimb/linalg/approx_spectral.py b/quimb/linalg/approx_spectral.py index d199370b..2cde128a 100644 --- a/quimb/linalg/approx_spectral.py +++ b/quimb/linalg/approx_spectral.py @@ -52,7 +52,7 @@ def lazy_ptr_linop(psi_ab, dims, sysa, **linop_opts): sysa : int or sequence of int, optional Index(es) of the 'a' subsystem(s) to keep. """ - from .tensor.tensor_core import Tensor + from ..tensor.tensor_core import Tensor sysa = int2tup(sysa) @@ -113,7 +113,7 @@ def lazy_ptr_ppt_linop(psi_abc, dims, sysa, sysb, **linop_opts): Index(es) of the 'b' subsystem(s) to keep, with respect to all the dimensions, ``dims``, (i.e. pre-partial trace). """ - from .tensor.tensor_core import Tensor + from ..tensor.tensor_core import Tensor sysa, sysb = int2tup(sysa), int2tup(sysb) sys_ab = sorted(sysa + sysb)