Skip to content

Commit

Permalink
Rename nthPrimeApprox.cpp to RiemannR.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Feb 9, 2024
1 parent deb5196 commit f5d025d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ set(LIB_SRC src/api-c.cpp
src/MemoryPool.cpp
src/PrimeGenerator.cpp
src/nthPrime.cpp
src/nthPrimeApprox.cpp
src/ParallelSieve.cpp
src/popcount.cpp
src/PreSieve.cpp
src/PrimeSieve.cpp
src/RiemannR.cpp
src/SievingPrimes.cpp)

# Required includes ##################################################
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///
/// @file nthPrimeApprox.hpp
/// @file RiemannR.hpp
///
/// Copyright (C) 2024 Kim Walisch, <[email protected]>
///
Expand Down
2 changes: 1 addition & 1 deletion src/nthPrimeApprox.cpp → src/RiemannR.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///
/// @file nthPrimeApprox.cpp
/// @file RiemannR.cpp
/// This file contains an implementation of the Riemann R
/// function which is a very accurate approximation of
/// PrimePi(x). Note that this Riemann R implementation is
Expand Down
2 changes: 1 addition & 1 deletion src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
///

#include <primesieve/ParallelSieve.hpp>
#include <primesieve/nthPrimeApprox.hpp>
#include <primesieve/RiemannR.hpp>
#include <primesieve/Vector.hpp>
#include "cmdoptions.hpp"

Expand Down
2 changes: 1 addition & 1 deletion src/nthPrime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <primesieve/macros.hpp>
#include <primesieve/pmath.hpp>
#include <primesieve/primesieve_error.hpp>
#include <primesieve/nthPrimeApprox.hpp>
#include <primesieve/RiemannR.hpp>

#include <stdint.h>
#include <algorithm>
Expand Down
2 changes: 1 addition & 1 deletion test/Riemann_R.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/// file in the top level directory.
///

#include <primesieve/nthPrimeApprox.hpp>
#include <primesieve/RiemannR.hpp>

#include <stdint.h>
#include <iostream>
Expand Down

0 comments on commit f5d025d

Please sign in to comment.