We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68459ca commit d63096fCopy full SHA for d63096f
pyansys/cython/_cellqual.pyx
@@ -25,13 +25,13 @@ cdef uint8 VTK_QUADRATIC_HEXAHEDRON = 25
25
cdef double d_nan = np.nan
26
27
# Inline subfunctions
28
-cdef inline double TripleProduct(double [3] ab, double [3] bc, double [3] cd):
+cdef inline double TripleProduct(double [3] ab, double [3] bc, double [3] cd) nogil:
29
return ab[0] * (bc[1] * cd[2] - bc[2] * cd[1]) -\
30
bc[0] * (ab[1] * cd[2] - ab[2] * cd[1]) +\
31
cd[0] * (ab[1] * bc[2] - ab[2] * bc[1])
32
33
34
-cdef inline double NormCalc(double [3] vec):
+cdef inline double NormCalc(double [3] vec) nogil:
35
return sqrt(vec[0]**2 + vec[1]**2 + vec[2]**2)
36
37
0 commit comments