nmi-lab / decolle-public

GNU General Public License v3.0
42 stars 22 forks source link

Base model init burnin #23

Open ferqui opened 2 years ago

ferqui commented 2 years ago

Hi, I was looking at the code to get a good understanding of how it works and while running an example I saw that in the init function of the DECOLLEBase class it uses the burnin value of that object instead of the one passed as a parameter in the for loop. That by default is always 0. https://github.com/nmi-lab/decolle-public/blob/61aca54dadfc2ef4781a25b8c1324e19f676e871/decolle/base_model.py#L438 Shouldn't it be like that?

for t in (range(0,max(burnin,1))):