QInfer / python-qinfer

Library for Bayesian inference via sequential Monte Carlo for quantum parameter estimation.
BSD 3-Clause "New" or "Revised" License
92 stars 31 forks source link

Parallel serial threshold incorrect #76

Closed ihincks closed 8 years ago

ihincks commented 8 years ago

I would just submit a PR, but am a bit confused about which branch to do it on at this point. Anyway, around line 180 of parallel.py, it should be index 0 I think:

if modelparams.shape[*0*] <= self._serial_threshold:

(also fix theshold typo while at it)

ihincks commented 8 years ago

Note to self: don't forget to mention dview.use_dill() to deal with models that might have closures.

cgranade commented 8 years ago

This should be resolved by #82?

ihincks commented 8 years ago

Yep, thanks.