BayesianLogic / blog

The BLOG programming language
http://bayesianlogic.github.io/
BSD 4-Clause "Original" or "Old" License
98 stars 31 forks source link

fixed distinct symbol #234

Closed lileicc closed 10 years ago

lileicc commented 10 years ago

trying to fix poisson-ball.blog.

lileicc commented 10 years ago

@cberzan The reference is handled properly. Still not working properly. If you have time,pls check (after reviewing the tupleset pr)

cberzan commented 10 years ago

@lileicc Fixed; ready for review.

Tested with this additional example:

random Boolean b ~ BooleanDistrib(0.5);

random Real r ~
    if b then UniformReal(0, 1);

query r;
lileicc commented 10 years ago

LGTM