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

贡献者指南