Skip to content

Commit

Permalink
Add more ifdefs
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Aug 29, 2019
1 parent 190e789 commit 4ea4ba7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions symengine/llvm_double.cpp
Expand Up @@ -925,10 +925,12 @@ void LLVMVisitor::bvisit(const Constant &x)
set_double(eval_double(x));
}

#ifdef SYMENGINE_HAVE_LLVM_LONG_DOUBLE
void LLVMLongDoubleVisitor::visit(const Constant &x)
{
convert_from_mpfr(x);
}
#endif

void LLVMVisitor::bvisit(const Basic &)
{
Expand Down

0 comments on commit 4ea4ba7

Please sign in to comment.