Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enbarrasing typo
Browse files Browse the repository at this point in the history
longemen3000 committed Jun 3, 2024
1 parent feb22c7 commit f8c996e
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/Li2.jl
Original file line number Diff line number Diff line change
@@ -68,5 +68,5 @@
@test PolyLog.li2(1.0 + 1e300im) -238585.82620504462 + 1085.06766186232im rtol=eps(Float64)

#ForwardDiff Test
@test ForwardDiff.derivative(PolyLog.reli2,float(pi)) == ForwardDiff.reli1(float(pi))/float(pi)
@test ForwardDiff.derivative(PolyLog.reli2,float(pi)) == PolyLog.reli1(float(pi))/float(pi)
end
2 changes: 1 addition & 1 deletion test/Li3.jl
Original file line number Diff line number Diff line change
@@ -62,5 +62,5 @@
@test PolyLog.li3(1.0 + 1e300im) -5.4936606061973454e7 + 374771.031356405im rtol=eps(Float64)

#ForwardDiff Test
@test ForwardDiff.derivative(PolyLog.reli3,float(pi)) == ForwardDiff.reli2(float(pi))/float(pi)
@test ForwardDiff.derivative(PolyLog.reli3,float(pi)) == PolyLog.reli2(float(pi))/float(pi)
end
2 changes: 1 addition & 1 deletion test/Li4.jl
Original file line number Diff line number Diff line change
@@ -54,5 +54,5 @@
@test PolyLog.li4(1.0 + 1e300im) -9.4872648206269765e9 + 8.62951114411071e7im rtol=eps(Float64)

#ForwardDiff Test
@test ForwardDiff.derivative(PolyLog.reli4,float(pi)) == ForwardDiff.reli3(float(pi))/float(pi)
@test ForwardDiff.derivative(PolyLog.reli4,float(pi)) == PolyLog.reli3(float(pi))/float(pi)
end

0 comments on commit f8c996e

Please sign in to comment.