Fixed checkgrad test to randomize before checking

This commit is contained in:
Alan Saul 2013-03-11 18:25:11 +00:00
parent 0765ceb920
commit b06b4ea8f1

View file

@ -30,6 +30,7 @@ def checkgrads_generator(model):
"""
def model_checkgrads(model):
model.randomize()
assert model.checkgrad()