Skip to content

Commit 5ae06b5

Browse files
authored
log1p test
1 parent 7f908d2 commit 5ae06b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Random/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ struct FakeFloat64 <: AbstractFloat
312312
x::Float64
313313
end
314314
Base.rand(rng::AbstractRNG, ::Random.SamplerTrivial{Random.CloseOpen01{FakeFloat64}}) = FakeFloat64(rand(rng))
315-
for f in (:sqrt, :log, :one, :zero, :abs, :+, :-)
315+
for f in (:sqrt, :log, :log1p, :one, :zero, :abs, :+, :-)
316316
@eval Base.$f(x::FakeFloat64) = FakeFloat64($f(x.x))
317317
end
318318
for f in (:+, :-, :*, :/)

0 commit comments

Comments
 (0)