diff --git a/openpnm/algorithms/_reactive_transport.py b/openpnm/algorithms/_reactive_transport.py index abbae740eb..3087101d47 100644 --- a/openpnm/algorithms/_reactive_transport.py +++ b/openpnm/algorithms/_reactive_transport.py @@ -3,7 +3,7 @@ import numpy as np from numpy.linalg import norm -from scipy.optimize.nonlin import TerminationCondition +from scipy.optimize._nonlin import TerminationCondition # Fix: import from _nonlin.py for compatibility with scipy >=1.14, should be addressed more sustainable from tqdm.auto import tqdm from openpnm.algorithms import Transport