Skip to content

Commit ea9457d

Browse files
committed
Make llvm_long_double_loading_func conditional
1 parent 3498758 commit ea9457d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

symengine/lib/symengine_wrapper.pyx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4869,8 +4869,9 @@ IF HAVE_SYMENGINE_LLVM:
48694869
def llvm_float_loading_func(*args):
48704870
return LLVMFloat(args, _load=True)
48714871

4872-
def llvm_long_double_loading_func(*args):
4873-
return LLVMLongDouble(args, _load=True)
4872+
IF HAVE_SYMENGINE_LLVM_LONG_DOUBLE:
4873+
def llvm_long_double_loading_func(*args):
4874+
return LLVMLongDouble(args, _load=True)
48744875

48754876
def Lambdify(args, *exprs, cppbool real=True, backend=None, order='C',
48764877
as_scipy=False, cse=False, dtype=None, **kwargs):

0 commit comments

Comments
 (0)