Changed param datatype

pull/1/head
E. Almqvist 4 years ago
parent 012b3a12a1
commit 90071935a7
  1. 2
      rgbAI/lib/func.py

@ -46,7 +46,7 @@ class AIlib:
return gradient return gradient
def mutateProp( prop:list, lr, gradient ): def mutateProp( prop:list, lr:float, gradient ):
newProp = [None] * len(prop) newProp = [None] * len(prop)
for i in range(len(prop)): for i in range(len(prop)):

Loading…
Cancel
Save