NumPy 1.18.3 版本發行說明#

此版本包含多項錯誤/回歸修復。

此版本支援的 Python 版本為 3.5-3.8。下游開發者應使用 Cython >= 0.29.15 以支援 Python 3.8,並使用 OpenBLAS >= 3.7 以避免在 Skylake 架構上發生錯誤。

重點摘要#

  • 修復了 method='eigh'method='cholesky' 方法在 numpy.random.multivariate_normal 中的問題。這些方法先前會從錯誤的分布產生樣本。

貢獻者#

總共有 6 人為此版本做出貢獻。姓名旁有「+」號者為首次貢獻程式碼。

  • Charles Harris

  • Max Balandat +

  • @Mibu287 +

  • Pan Jan +

  • Sebastian Berg

  • @panpiort8 +

合併的 Pull Request#

此版本總共合併了 5 個 Pull Request。

  • #15916: BUG: 修正 numpy.random.multivariate_normal 的 eigh 和 cholesky 方法

  • #15929: BUG,MAINT: 移除字串轉數字中不正確的特殊情況…

  • #15930: BUG: 保證在記憶體錯誤發生後陣列處於有效狀態…

  • #15954: BUG: 檢查 _generator.multinomial 中的 pvals 是否為 1D。

  • #16017: BUG: generator.dirichlet 中的 Alpha 參數必須為 1D