SheffieldML/GPy
There are `assert`s where we need `ValueError`s
Aberta
#922 aberto em 27 de mai. de 2021
good first issue
Métricas do repositório
- Stars
- (1.927 estrelas)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
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