From ada324cae2352d4d35580aa389f040bfa1a85fa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Tue, 8 Aug 2023 20:45:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20bad=20syntax=20in=20Schedu?= =?UTF-8?q?lers=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/Schedulers.jl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/Schedulers.jl b/test/Schedulers.jl index a59c00a..1b3dd16 100644 --- a/test/Schedulers.jl +++ b/test/Schedulers.jl @@ -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