From 3170357dc9759dc80551fee1e46ca7d78b53bfc3 Mon Sep 17 00:00:00 2001 From: Kostas Vilkelis <kostasvilkelis@gmail.com> Date: Wed, 27 Mar 2024 13:21:27 +0000 Subject: [PATCH] fix relative imports --- codes/__init__.py | 0 codes/params/rparams.py | 2 +- codes/solvers.py | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 codes/__init__.py diff --git a/codes/__init__.py b/codes/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/codes/params/rparams.py b/codes/params/rparams.py index 3f17062..50126ab 100644 --- a/codes/params/rparams.py +++ b/codes/params/rparams.py @@ -1,5 +1,5 @@ import numpy as np -from .matrixShaping import (complex_to_real, matrix_to_flat, +from codes.params.matrixShaping import (complex_to_real, matrix_to_flat, real_to_complex, flat_to_matrix) def mf2rParams(mf_model): diff --git a/codes/solvers.py b/codes/solvers.py index 2eeaa72..628985f 100644 --- a/codes/solvers.py +++ b/codes/solvers.py @@ -1,7 +1,7 @@ -from .params.rparams import mf2rParams, rParams2mf +from codes.params.rparams import mf2rParams, rParams2mf import scipy from functools import partial -from .tb.tb import addTb +from codes.tb.tb import addTb import numpy as np -- GitLab