diff --git a/caliGraph.py b/caliGraph.py index f8e4a53..d0bb0e1 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -292,9 +292,8 @@ def scoreOpinions(G, globMu, globStd, errorFac=0.7): def scoreUnread(G, globMu, globStd, errorFac=0.6): for n in list(G.nodes): feedbacks = [] - deepFeedbacks = [] - deepLen = 0 - tagFeedbacks = [] + deepFeedbacks = [globMu] + deepLen = 1 node = G.nodes[n] if node['t'] == 'book': if node['rating'] == None: