Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaudin47 committed May 12, 2024
1 parent f1067d7 commit 0b6ccd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/Base/Stat/LowDiscrepancySequenceImplementation.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ Unsigned64BitsInteger LowDiscrepancySequenceImplementation::GetNextPrimeNumber(c
#ifdef OPENTURNS_HAVE_PRIMESIEVE
primesieve::iterator it;
#if PRIMESIEVE_VERSION_MAJOR >= 11
it.jump_to(n - 1);
it.jump_to(n);
#else
it.skipto(n - 1);
it.skipto(n);
#endif
return it.next_prime();
#else
Expand Down

0 comments on commit 0b6ccd1

Please sign in to comment.