Hi all
Firstly, thanks to the Stan devs for writing such an awesome piece of software! Secondly, hopefully this isn't a duplicate of any posts: I've searched around and haven't found anything that matches.
Anyway, I upgraded to the latest version of PyStan this morning (pystan.__version__ = '2.14.0.0') and I'm now having trouble extracting fits. Regardless of the arguments I pass to the extract() call, I get the following error:
Traceback (most recent call last):
File "stan_cpl.py", line 495, in <module>
samples = fit.extract()
File "stanfit4anon_model_86f0c8d2f63dcf12b6bc584c29bf7ac4_1190911492343917902.pyx", line 574, in stanfit4anon_model_86f0c8d2f63dcf12b6bc584c29bf7ac4_1190911492343917902.StanFit4Model.extract (/var/folders/4q/2gmnqtb5211g95b5p6rlh32800011w/T/tmpzoG1H_/stanfit4anon_model_86f0c8d2f63dcf12b6bc584c29bf7ac4_1190911492343917902.cpp:11624)
TypeError: 'float' object cannot be interpreted as an index
This was working with version 2.12.0.0 this morning, and nothing else has changed about the way I'm sampling my model: sampling still completes as normal, and I can print the fit object successfully. This is on OS X; Cython was upgraded (to Cython-0.25.2) as part of the PyStan upgrade. Has anyone seen anything like this before?
Many thanks for any help anyone can provide!
Stephen