Skip to content

Commit 9fa06ae

Browse files
committed
explicit import for testing
1 parent 9716f8d commit 9fa06ae

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/gamma.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,10 @@
191191
Lm = loggamma(z_minus)
192192
Lp = loggamma(z_plus)
193193

194-
zf_minus = SpecialFunctions._loggamma_oracle64_point(z_minus)
195-
zf_plus = SpecialFunctions._loggamma_oracle64_point(z_plus)
196-
Lf_minus = SpecialFunctions.loggamma(zf_minus)
197-
Lf_plus = SpecialFunctions.loggamma(zf_plus)
194+
zf_minus = _loggamma_oracle64_point(z_minus)
195+
zf_plus = _loggamma_oracle64_point(z_plus)
196+
Lf_minus = loggamma(zf_minus)
197+
Lf_plus = loggamma(zf_plus)
198198

199199
@test isapprox(Float64(real(Lm)), real(Lf_minus); rtol=0, atol=1e-14)
200200
@test isapprox(Float64(imag(Lm)), imag(Lf_minus); rtol=0, atol=1e-14)

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ using Aqua: Aqua
1111
using ExplicitImports: ExplicitImports
1212
using JET: JET
1313

14-
using SpecialFunctions: AmosException, f64
14+
using SpecialFunctions: AmosException, f64, _loggamma_oracle64_point
1515

1616
# useful test functions for relative error, which differ from isapprox
1717
# relerr separately looks at the real and imaginary parts if one of the arguments is complex

0 commit comments

Comments
 (0)