Syntax change in randomwalk.Generator.__init__

This commit is contained in:
Charles Peyrat 2020-12-11 19:13:15 +01:00
parent deb52d7350
commit fe9dfdf242
1 changed files with 1 additions and 3 deletions

View File

@ -58,9 +58,7 @@ class Walker:
class Generator:
def __init__(self, params: dict = None):
if params is None:
params = DEFAULT_PARAMS
def __init__(self, params: dict = DEFAULT_PARAMS):
self.params = params
def run(self) -> Map: