Skip to content

Commit 3e6827c

Browse files
authored
Merge pull request #52 from skarabocu/distortion_ratio_typo_fix
Fixing the args.distort_rate typo in the run.py file
2 parents 17e27c4 + 0d57167 commit 3e6827c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def main():
5353
plot_comparison_results(args.voters_model, results, args.num_voters, args.num_candidates,
5454
args.num_topn, args.num_iterations, distortion_ratio=0.0, save_figure=True)
5555

56-
if args.distort_rate == 0.0:
56+
if args.distortion_ratio == 0.0:
5757
return
5858

5959
results2 = {}
@@ -62,7 +62,7 @@ def main():
6262
args.num_voters,
6363
args.num_topn,
6464
args.voters_model,
65-
distortion_ratio=args.distort_rate,
65+
distortion_ratio=args.distortion_ratio,
6666
verbose=True)
6767
plot_comparison_results(args.voters_model, results2, args.num_voters, args.num_candidates,
6868
args.num_topn, args.num_iterations, distortion_ratio=args.distortion_ratio, save_figure=True)

0 commit comments

Comments
 (0)