diff options
| author | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-02 15:12:42 -0500 |
|---|---|---|
| committer | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-02 15:12:42 -0500 |
| commit | 683dbbdff11b7aa3b99641c82c3413c9c1bd1d9b (patch) | |
| tree | 6349ba45b62a94b0a490a66418f25b6a74a0ff14 /src/algorithms.py | |
| parent | c883cb7ff6c7536d8dc4ea15dfc733bfbb98693c (diff) | |
| download | cascades-683dbbdff11b7aa3b99641c82c3413c9c1bd1d9b.tar.gz | |
fixed bug
Diffstat (limited to 'src/algorithms.py')
| -rw-r--r-- | src/algorithms.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/algorithms.py b/src/algorithms.py index 29de661..926d9bc 100644 --- a/src/algorithms.py +++ b/src/algorithms.py @@ -38,11 +38,7 @@ def recovery_l1obj_l2constraint(G, cascades, floor_cstt, passed_function, passed_function should have similar structure to ones in convex_optimation """ G_hat = cascade_creation.InfluenceGraph(max_proba=None) - G_hat.add_nodes_from(G.nodes()) - - #### - print(G.nodes()) - #### + G_hat.add_nodes_from(G.nodes()) for node in G_hat.nodes(): print(node) |
