Syntax change in randomwalk.Generator.__init__
This commit is contained in:
parent
deb52d7350
commit
fe9dfdf242
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue