Skip to content

Commit

Permalink
removed exception
Browse files Browse the repository at this point in the history
  • Loading branch information
gsuarezr committed Nov 20, 2023
1 parent 357104b commit 662b7e3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qutip/solver/heom/bofin_baths.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,8 +1424,9 @@ def __init__(self, T, Q, alpha, wc, s, Nk=4, method="spectral", rmse=7e-5):
self.Nk = Nk
self.beta = 1 / T
if _mpmath_available is False:
raise Exception("The mpmath module is needed for the description"
"of Ohmic baths")
print(
"The mpmath module is needed for the description"
" of Ohmic baths")
if method == "correlation":
self.fit = FitCorr(self.Q)
t = np.linspace(0, 15 / self.wc, 1000)
Expand Down

0 comments on commit 662b7e3

Please sign in to comment.