Skip to content

Commit 717c6e8

Browse files
authored
Merge pull request #422 from JaGeo/dependabot/pip/sphinx-toolbox-4.1.1
Bump sphinx-toolbox from 4.1.0 to 4.1.1
2 parents d38d3cf + 376aa80 commit 717c6e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ docs = [
5353
"myst-nb==1.3.0",
5454
"sphinx-book-theme==1.1.4",
5555
"sphinx-argparse==0.5.2",
56-
"sphinx-toolbox==4.1.0",
56+
"sphinx-toolbox==4.1.1",
5757
]
5858

5959
[project.scripts]

src/lobsterpy/featurize/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ def get_n_moment(
843843
else:
844844
p = energies
845845

846-
return np.trapz(p**n * coxx, x=energies) / np.trapz(coxx, x=energies)
846+
return np.trapezoid(p**n * coxx, x=energies) / np.trapezoid(coxx, x=energies)
847847

848848
@staticmethod
849849
def get_cohp_edge(

0 commit comments

Comments
 (0)