From 90071935a7eeae52c5a19ed33e27fd7a0ba93d74 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Fri, 25 Sep 2020 14:31:53 +0000 Subject: [PATCH] Changed param datatype --- rgbAI/lib/func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rgbAI/lib/func.py b/rgbAI/lib/func.py index c785104..f59fb3f 100644 --- a/rgbAI/lib/func.py +++ b/rgbAI/lib/func.py @@ -46,7 +46,7 @@ class AIlib: return gradient - def mutateProp( prop:list, lr, gradient ): + def mutateProp( prop:list, lr:float, gradient ): newProp = [None] * len(prop) for i in range(len(prop)):