SheffieldML/GPy

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

Open

#922 opened on May 27, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (1,927 stars) (579 forks)batch import
good first issue

Description

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

Contributor guide