(Arne Babenhauserheide)
2014-12-02: fix: positions were integers. fix: positions were integers.
diff --git a/examples/ensemble-estimation.w b/examples/ensemble-estimation.w --- a/examples/ensemble-estimation.w +++ b/examples/ensemble-estimation.w @@ -87,7 +87,7 @@ define y⁰-num 1000 define y⁰-pos-max 100 ;; At the positions where they are measured. Drawn randomly to avoid ;; giving an undue weight to later values. -define y⁰-pos : list-ec (: i y⁰-num) : random y⁰-pos-max +define y⁰-pos : list-ec (: i y⁰-num) : * (random:uniform) y⁰-pos-max ;; We need an observation operator to generate observations from true values define : H x pos