Browse files

ChangeLog: add notes about Cython memoryview transition

  • Loading branch information...
1 parent fa7252d commit aefb65705e751667de21cbd93691714df15b19f6 @strohel committed Aug 13, 2013
Showing with 6 additions and 0 deletions.
  1. +6 −0 ChangeLog.rst
6 ChangeLog.rst
@@ -8,6 +8,12 @@ recent versions are mentioned on top.
Changes between 0.3 and 0.4
+* The optimised Cython PyBayes version was turned to use Cython memoryviews (with help
+ from Ceygen_) instead of NumPy arrays where it makes sense. Cython memoryviews and NumPy
+ arrays are mostly mutually compatible, but you may need to use :func:`np.asarray(...)
+ <numpy.asarray>` or convert your code to use e.g. :func:`np.sum(pybayes_result)
+ <numpy.sum>` instead of :obj:`pybayes_result.sum() <numpy.ndarray.sum>`. Alternatively,
+ you can convert your code to use Cython memoryviews too.
* Use of bundled Tokyo is replaced by the Ceygen_ project and Tokyo submodule is removed.
* ParticleFilter.bayes() now ignores cond completely. Yell if you need it.
* ParticleFilter lost last emp_pdf argument. Pass the same object as the init_pdf argument

0 comments on commit aefb657

Please sign in to comment.