From 1e54392d540ab93320b0c4ef2fb2d1f9104c71ec Mon Sep 17 00:00:00 2001 From: Nicolas Kruse Date: Tue, 17 Jun 2025 23:31:17 +0200 Subject: [PATCH] type references fixed --- src/gaspype/_operations.py | 3 ++- src/gaspype/membrane.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gaspype/_operations.py b/src/gaspype/_operations.py index ba174c8..f70ef3b 100644 --- a/src/gaspype/_operations.py +++ b/src/gaspype/_operations.py @@ -2,7 +2,8 @@ from typing import Literal, Any from math import exp from scipy.optimize import minimize, root import numpy as np -from ._main import T, NDFloat, elements, fluid, fluid_system, FloatArray +from ._main import T, elements, fluid, fluid_system +from .typing import NDFloat, FloatArray from .constants import p0, epsy, R diff --git a/src/gaspype/membrane.py b/src/gaspype/membrane.py index 666d80a..9945951 100644 --- a/src/gaspype/membrane.py +++ b/src/gaspype/membrane.py @@ -1,6 +1,7 @@ from .constants import R, F from ._operations import oxygen_partial_pressure -from ._main import fluid, elements, FloatArray +from ._main import fluid, elements +from .typing import FloatArray import numpy as np # Each O2 molecule is transported as two ions and each ion has a charged of 2e