davidcox/genson — Issue #19: internal references in "draws" parameter does not work
Author: yamins81
Created: 2011-10-17 20:34:17+00:00
State: open

The follow genson expression doesn't do what I thought it should:

{"parameter0" : choice([10,20]), "parameter1": gaussian(0, 1, draws=this.parameter0) }

e.g. instead of given either 10 or 20 draws from the gaussian, it only gives 1.