Skip to content

Commit

Permalink
better rescaling
Browse files Browse the repository at this point in the history
  • Loading branch information
benmaier committed Sep 15, 2020
1 parent 9bfb446 commit 24db39c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sixdegrees/random_geometric_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def twoD_random_geometric_kleinberg_network(
Y = np.random.rand(N)

#kappa = 2*(mu-1)
kappa = mu - 1
kappa = mu - 2

if not use_continuous_connection_probability:
C, rmin = get_distance_connection_probability_parameters(
Expand Down Expand Up @@ -167,7 +167,7 @@ def twoD_random_geometric_kleinberg_network_coord_lists(
Y = np.random.rand(N)

#kappa = 2*(mu-1)
kappa = mu - 1
kappa = mu - 2

if not use_continuous_connection_probability:
C, rmin = get_distance_connection_probability_parameters(
Expand Down

0 comments on commit 24db39c

Please sign in to comment.