SheffieldML/GPy

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

Open

#922 opened on 2021年5月27日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Python (579 forks)batch import
good first issue

Repository metrics

Stars
 (1,927 stars)
PR merge metrics
 (30d に merged 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

コントリビューターガイド