diff --git a/netin/models/barabasi_albert_model.py b/netin/models/barabasi_albert_model.py index 08e7cca..9d109e6 100644 --- a/netin/models/barabasi_albert_model.py +++ b/netin/models/barabasi_albert_model.py @@ -17,7 +17,7 @@ def __init__( super().__init__( *args, N=N, m=m, graph=graph, seed=seed, **kwargs) - self.pa = PreferentialAttachment(n=N, graph=self.graph) + self.pa = PreferentialAttachment(N=N, graph=self.graph) def compute_target_probabilities(self, source: int) -> np.ndarray: return\