Skip to content

Bugfixes, touch-ups and Python requirement

Compare
Choose a tag to compare
@jonathf jonathf released this 14 Nov 11:13
· 76 commits to master since this release
05e08c6

New Python requirement: ^2.7 || >=3.6
I.e. no more support for python 3.0-3.5.
(Python 2 support will likely be dropped by the end of the year.)

ADDED:

  • include_axis_dim flag added to Distribution.sample to force the
    inclusion of extra dimension. (Currently first dimension is omitted is
    len(dist) == 1.)
    CHANGED:
  • chaospy.E_cond changed to accept simple polynomials as second argument,
    allowing for e.g. chaospy.E_cond(q0*q1, q0, dist) which can be
    interpreted as "expectation of q0*q1 given q0 with respect to dist".
  • Bugfixes to chaospy.Spearman
    REMOVED:
  • Deprecated report_on_exception. Caused recursion problems, and only a
    semi-useful diagnostic tool to begin with.
  • No more support for Python 3.5. This allows the poetry install to use
    newer version of numpy and scipy.