SheffieldML/GPy

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

Open

#922 geöffnet am 27. Mai 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (579 Forks)batch import
good first issue

Repository-Metriken

Stars
 (1.927 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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