Skip to content

Commit

Permalink
hotfix import TerminationCondition for scipy v>1=1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
hpc-dave authored Jul 4, 2024
1 parent c6c2d5c commit ed414e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openpnm/algorithms/_reactive_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ed414e7

Please sign in to comment.