Skip to content

Commit

Permalink
Fix precondition
Browse files Browse the repository at this point in the history
  • Loading branch information
kimwalisch committed Feb 9, 2024
1 parent f5d025d commit 0f4e665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RiemannR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ long double RiemannR(long double x)
///
long double RiemannR_prime(long double x)
{
if (x < 0.1)
if (x <= 1)
return 0;

long double sum = 0;
Expand Down

0 comments on commit 0f4e665

Please sign in to comment.