SheffieldML/GPy

There are `assert`s where we need `ValueError`s

Open

#922 建立於 2021年5月27日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Python (579 fork)batch import
good first issue

倉庫指標

Star
 (1,927 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

We should not use assert to address bad user input, but there are such uses of assert in the GPy codebase. Instead, we should use ValueError. For more details, see https://github.com/SheffieldML/GPy/pull/917#discussion_r639520080

貢獻者指南