Skip to content

Commit f03443b

Browse files
fix fastpow test
1 parent 16e511e commit f03443b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/fastpow.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ using Test
88
end
99

1010
@testset "Fast pow" begin
11-
@test fastpow(1, 1) isa Float32
12-
@test fastpow(1.0, 1.0) isa Float32
11+
@test fastpow(1, 1) isa Float64
12+
@test fastpow(1.0, 1.0) isa Float64
1313
errors = [abs(^(x, y) - fastpow(x, y)) for x in 0.001:0.001:1, y in 0.08:0.001:0.5]
1414
@test maximum(errors) < 1e-4
1515
end

0 commit comments

Comments
 (0)