Raw File
var geometric = function(p) {
  return flip(p) ? 1 + geometric(p) : 1;
};

Infer({method: 'enumerate', maxExecutions: 10, model() {
  return geometric(0.5);
}});
back to top