Skip to content

Commit

Permalink
Merge pull request #1958 from antonio-rojas/primesieve
Browse files Browse the repository at this point in the history
Actually use primesieve when enabled
  • Loading branch information
isuruf committed Mar 21, 2023
2 parents 103bb7b + a4cbd6b commit 2b575b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions symengine/prime_sieve.cpp
Expand Up @@ -5,6 +5,9 @@
#include <algorithm>
#include <vector>
#include <iterator>
#ifdef HAVE_SYMENGINE_PRIMESIEVE
#include <primesieve.hpp>
#endif

namespace SymEngine
{
Expand Down
1 change: 1 addition & 0 deletions symengine/prime_sieve.h
Expand Up @@ -2,6 +2,7 @@
#define SYMENGINE_PRIME_SIEVE_H

#include <vector>
#include <symengine/symengine_config.h>

// Sieve class stores all the primes upto a limit. When a prime or a list of
// prime
Expand Down

0 comments on commit 2b575b9

Please sign in to comment.