Skip to content

Commit d28544f

Browse files
author
Shyue Ping Ong
committed
Reverse the pin on Cython.
1 parent 4acfbcb commit d28544f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymatgen/util/coord_cython.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def pbc_shortest_vectors(lattice, fcoords1, fcoords2, mask=None, return_d2=False
9191

9292
pbc = lattice.pbc
9393
cdef int n_pbc = sum(pbc)
94-
cdef int n_pbc_im = int(round(3 ** n_pbc))
94+
cdef int n_pbc_im = int(3 ** n_pbc)
9595

9696
cdef np.float_t[:, ::1] frac_im
9797
cdef int i, j, k, l, I, J

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"Cython>=0.29.23,<3",
3+
"Cython>=0.29.23",
44
# pin NumPy version used in the build
55
"oldest-supported-numpy",
66
"setuptools>=65.0.0",

0 commit comments

Comments
 (0)