Skip to content

Commit

Permalink
Changed scipy simps import due to API change
Browse files Browse the repository at this point in the history
  • Loading branch information
pbuslaev authored and vgapsys committed Jul 5, 2024
1 parent 5a401d2 commit e6d6258
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pmx/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
import subprocess
import os
from os import path
from scipy.integrate import simps
try:
from scipy.integrate import simps
except ImportError:
from scipy.integrate import simpson as simps
from matplotlib import pyplot as plt
from copy import deepcopy
from scipy.special import erf
Expand Down

0 comments on commit e6d6258

Please sign in to comment.