mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 06:46:22 +02:00
Fixed checkgrad test to randomize before checking
This commit is contained in:
parent
0765ceb920
commit
b06b4ea8f1
1 changed files with 1 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ def checkgrads_generator(model):
|
|||
"""
|
||||
|
||||
def model_checkgrads(model):
|
||||
model.randomize()
|
||||
assert model.checkgrad()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue