From 2ac9bdfbff831fd5ae28a989133c1a2600f98917 Mon Sep 17 00:00:00 2001 From: Kim Walisch Date: Mon, 8 Jan 2024 17:43:03 +0100 Subject: [PATCH] Remove inline --- src/nthPrime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nthPrime.cpp b/src/nthPrime.cpp index 25d829235..e25c173d7 100644 --- a/src/nthPrime.cpp +++ b/src/nthPrime.cpp @@ -26,7 +26,7 @@ namespace { const uint64_t max_n = 425656284035217743ull; /// Average prime gap near n -inline uint64_t avgPrimeGap(uint64_t n) +uint64_t avgPrimeGap(uint64_t n) { double x = (double) n; x = std::max(8.0, x);