Skip to content

Commit a7b52d6

Browse files
committed
renaming
1 parent 409c721 commit a7b52d6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

propinquity/src/main/java/pdgs/utils/Utils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@ public static void FractionWithTotalPropinquity(Graph graph) {
5959

6060
int maxPropSum = 0;
6161
for (Node node : nodes) {
62-
PropinquityMap node0pm = node.getAttribute("pm");
63-
Set<Integer> node0Nr = node.getAttribute("Nr");
62+
PropinquityMap pm = node.getAttribute("pm");
63+
Set<Integer> Nr = node.getAttribute("Nr");
6464

6565
int propSum = 0;
6666
if (node.getAttribute("NrSum") != null) {
6767
propSum = (Integer) node.getAttribute("NrSum");
6868
} else {
69-
for (Integer n : node0Nr) {
70-
propSum += node0pm.get(n).get();
69+
for (Integer n : Nr) {
70+
propSum += pm.get(n).get();
7171
}
7272
node.setAttribute("NrSum", propSum);
7373
}

0 commit comments

Comments
 (0)