v0.1.4
Minor release with several bug fixes. Thanks to @kx-au for spotting and suggesting fixes to the bugs in the ImplicitLeapfrogIntegrator
and solve_fixed_point_direct
implementations.
- A previous attempt at adding a more helpful message when an error is encountered due to using parallel sampling with Autograd model functions without having
multiprocess
installed incorrectly assumed the exception raised would always be aPicklingError
while in reality anAttributeError
was being raised. The code now handles this case and correctly outputs an error message suggesting for the user to try installingmultiprocess
when trying to sample chains in parallel with Autograd model functions whenmultiprocess
is not available. - Several bugs / name errors in the implementation of the
mici.integrators.ImplicitLeapfrogIntegrator
have been fixed which previously prevented instantiation of this class. - A bug in the naming of the tolerance parameter in
mici.solvers.solve_fixed_point_direct
introduced in 5e01203 has been fixed. - The classes in the
mici.matrices
module have been refactored to useabc
abstract base classes to make the expected interfaces for the various matrix types more explicit and docstrings added to most classes and methods. - The
mici.matrices
unit tests have been updated to improve the coverage of the classes and reduce code duplication in writing the tests. - The
mici.integrator
unit tests coverage has also been improved slightly by adding a basic test for aImplicitLeapfrogIntegrator
instance.