Syntax change in randomwalk.Generator.__init__
This commit is contained in:
parent
deb52d7350
commit
fe9dfdf242
|
@ -58,9 +58,7 @@ class Walker:
|
||||||
|
|
||||||
|
|
||||||
class Generator:
|
class Generator:
|
||||||
def __init__(self, params: dict = None):
|
def __init__(self, params: dict = DEFAULT_PARAMS):
|
||||||
if params is None:
|
|
||||||
params = DEFAULT_PARAMS
|
|
||||||
self.params = params
|
self.params = params
|
||||||
|
|
||||||
def run(self) -> Map:
|
def run(self) -> Map:
|
||||||
|
|
Loading…
Reference in New Issue