@@ -4,6 +4,8 @@ from libcpp.vector cimport vector
4
4
from libcpp.string cimport string
5
5
from libcpp cimport bool as cppbool
6
6
7
+ include " config.pxi"
8
+
7
9
cdef class Basic(object ):
8
10
cdef rcp_const_basic thisptr
9
11
@@ -53,9 +55,10 @@ cdef class LambdaDouble(_Lambdify):
53
55
cpdef unsafe_complex(self , double complex [::1 ] inp, double complex [::1 ] out, int inp_offset = * , int out_offset = * )
54
56
cpdef as_scipy_low_level_callable(self )
55
57
56
- cdef class LLVMDouble(_Lambdify):
57
- cdef vector[symengine.LLVMDoubleVisitor] lambda_double
58
- cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
59
- cdef _load(self , const string & s)
60
- cpdef unsafe_real(self , double [::1 ] inp, double [::1 ] out, int inp_offset = * , int out_offset = * )
61
- cpdef as_scipy_low_level_callable(self )
58
+ IF HAVE_SYMENGINE_LLVM:
59
+ cdef class LLVMDouble(_Lambdify):
60
+ cdef vector[symengine.LLVMDoubleVisitor] lambda_double
61
+ cdef _init(self , symengine.vec_basic& args_, symengine.vec_basic& outs_, cppbool cse)
62
+ cdef _load(self , const string & s)
63
+ cpdef unsafe_real(self , double [::1 ] inp, double [::1 ] out, int inp_offset = * , int out_offset = * )
64
+ cpdef as_scipy_low_level_callable(self )
0 commit comments