From 683dbbdff11b7aa3b99641c82c3413c9c1bd1d9b Mon Sep 17 00:00:00 2001 From: jeanpouget-abadie Date: Mon, 2 Feb 2015 15:12:42 -0500 Subject: fixed bug --- src/algorithms.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/algorithms.py') 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) -- cgit v1.2.3-70-g09d2