Skip to content

Commit

Permalink
Fix function call
Browse files Browse the repository at this point in the history
  • Loading branch information
mannbach committed Aug 20, 2024
1 parent 65c2412 commit 6448624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netin/models/barabasi_albert_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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\
Expand Down

0 comments on commit 6448624

Please sign in to comment.