SheffieldML/GPy

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

开放

#922 创建于 2021年5月27日

 (0 条评论) (0 个反应) (0 位负责人)Python (579 个派生)batch import
good first issue

仓库指标

星标
 (1,927 个星标)
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

贡献者指南