🐛 fix bad syntax in Schedulers tests

This commit is contained in:
Laureηt 2023-08-08 20:45:04 +02:00
parent 8b098c4c09
commit ada324cae2
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -50,9 +50,7 @@ using Test
# corrupt x₀ with noise
xₜ = Diffusers.add_noise(ddpm, x₀, ϵ, t)
@test std(xₜ) 1.0 atol=1f-3
@test mean(xₜ) 0.0 atol=1f-3
end
end
@test std(xₜ) 1.0 atol = 1.0f-3
@test mean(xₜ) 0.0 atol = 1.0f-2
end
end