SheffieldML/GPy

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

オープン

#922 opened on 2021/05/27

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (579 件のフォーク)batch import
good first issue

Repository metrics

Stars
 (1,927 個のスター)
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

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