Skip to content

v4.0.1

Choose a tag to compare

@eltrompetero eltrompetero released this 03 Jun 21:35
· 27 commits to py3 since this release

ConIII v4.0.1 — bug-fix release. No API changes; backward-compatible with v4.0.0.

Fixes

  • #34 — Integer-typed multipliers no longer corrupt sampling. An int multiplier vector previously made calc_e do integer arithmetic, giving wrong energies and badly wrong samples (e.g. from MCH). Models and samplers now coerce multipliers to float.
  • #16 — solvers.RegularizedMeanField no longer crashes on (nearly) degenerate data (pairwise correlations at ±1). The objective is guarded against non-finite values, the default search is bounded (avoiding the fragile bracketing step that raised), and a clear error is raised only if no finite solution exists.
  • #28 — Added a regression test confirming MCH is reproducible with a fixed random number generator (already correct on current code).

See RELEASE_NOTES for details.