Skip to content

Commit

Permalink
[#973] fixed except nogil in _vignetting_tools (compilation warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvezinet committed Sep 13, 2024
1 parent de3edb0 commit 7260613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tofu/geom/_vignetting_tools.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ cdef int triangulate_polys(double** vignett_poly,
int64_t* lnvert,
int nvign,
int64_t** ltri,
int num_threads) nogil except -1
int num_threads) except -1 nogil


# ===============================================================
Expand Down
2 changes: 1 addition & 1 deletion tofu/geom/_vignetting_tools.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ cdef inline int triangulate_polys(
int nvign,
int64_t** ltri,
int num_threads,
) nogil except -1:
) except -1 nogil:
"""
Triangulates a list 3d polygon using the earclipping techinque
https://www.geometrictools.com/Documentation/TriangulationByEarClipping.pdf
Expand Down

0 comments on commit 7260613

Please sign in to comment.