We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MeasureTheory has these tests:
@testset "Density measures and Radon-Nikodym" begin x = randn() let d = ∫(𝒹(Cauchy(), Normal()), Normal()) @test logdensity_rel(d, Cauchy(), x) ≈ 0 atol = 1e-12 end let f = 𝒹(∫(x -> x^2, Normal()), Normal()) @test f(x) ≈ x^2 end let d = ∫exp(log𝒹(Cauchy(), Normal()), Normal()) @test logdensity_rel(d, Cauchy(), x) ≈ 0 atol=1e-12 end let f = log𝒹(∫exp(x -> x^2, Normal()), Normal()) @test f(x) ≈ x^2 end end
The ones with let f pass just fine. But the let d ones fail. It seems like it's still kind of messy. What's the best way to get this working?
let f
let d
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MeasureTheory has these tests:
The ones with
let f
pass just fine. But thelet d
ones fail. It seems like it's still kind of messy. What's the best way to get this working?The text was updated successfully, but these errors were encountered: