grinsted / gwmcmc

An implementation of the Goodman & Weare MCMC sampler for matlab
Other
51 stars 24 forks source link

error in ex_breakfit #7

Closed anntzer closed 6 years ago

anntzer commented 7 years ago

Running ex_breakfit from git HEAD yields

<elided>
GWMCMC  99.3% [***************************************·] 00:00:00
 75% rejected
    0.311
     1.85
 1.87e+03
     -111
     3.36

Elapsed time is 7.448054 seconds.
Index exceeds matrix dimensions.

Error in ex_breakfit (line 129)
        Ycount(Ybin(jj),jj)     =Ycount(Ybin(jj),jj)+1;

(MATLAB R2016b).