Skip to content

Commit

Permalink
use more generic real type
Browse files Browse the repository at this point in the history
  • Loading branch information
Expander committed Sep 19, 2023
1 parent de0e456 commit 024d89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Li.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ end
#
# Li(n,-x) + (-1)^n Li(n,-1/x)
# = -log(n,x)^n/n! + 2 sum(r=1:(n÷2), log(x)^(n-2r)/(n-2r)! Li(2r,-1))
function reli_rem(n::Integer, x::Float64)::Float64
function reli_rem(n::Integer, x::Real)
l = log(-x)
l2 = l*l
sum = zero(x)
Expand Down

0 comments on commit 024d89a

Please sign in to comment.