zenna / Omega.jl

Causal, Higher-Order, Probabilistic Programming
MIT License
164 stars 17 forks source link

Fixed the first half of the inference article #170

Closed mrakgr closed 3 years ago

mrakgr commented 3 years ago

Note that equality does not work directly, instead the special ==ᵣ operator needs to be used. Also the examples where unary functions are passed such as x = cond(normal(0.0, 1.0), rv -> rv > 0.0) don't work. Should they be converted to regular form?