diff --git a/notebooks/runtests.html b/notebooks/runtests.html index 1b1bd6d..37b7ef6 100644 --- a/notebooks/runtests.html +++ b/notebooks/runtests.html @@ -3,11 +3,11 @@ diff --git a/notebooks/stl.html b/notebooks/stl.html index 9c16e52..3c311be 100644 --- a/notebooks/stl.html +++ b/notebooks/stl.html @@ -3,11 +3,11 @@ diff --git a/src/stl.jl b/src/stl.jl index 0067a75..d9165b4 100644 --- a/src/stl.jl +++ b/src/stl.jl @@ -268,7 +268,7 @@ md""" """ # ╔═╡ ba0a977e-3dea-4b87-900d-d7e2e4281f79 -global W = Inf # i.e., default to returning the mean +global W = 1 # ╔═╡ 053e0902-559f-4ac9-98dc-4b59f11e4056 function logsumexp(x) diff --git a/test/runtests.jl b/test/runtests.jl index 66732b2..d318576 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -550,7 +550,7 @@ end @test smoothmax(sm; w=Inf) == mean(sm) # ╔═╡ e28af833-ebc3-4767-a5ba-0c2f5dbbc028 -@test robustness(x, ϕ_always; w=Inf) == smooth_robustness(x, ϕ_always) +@test robustness(x, ϕ_always; w=1) == smooth_robustness(x, ϕ_always) # ╔═╡ dded9b53-c9d4-47b1-9cd2-ca5a3cd245fb @test robustness(x, ϕ_always) == ρ(x, ϕ_always)