Skip to content

Commit 409c721

Browse files
committed
bug fix
1 parent 52a7103 commit 409c721

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public static void FractionWithTotalPropinquity(Graph graph) {
6363
Set<Integer> node0Nr = node.getAttribute("Nr");
6464

6565
int propSum = 0;
66-
if (node.getAttribute("NrSum")) {
66+
if (node.getAttribute("NrSum") != null) {
6767
propSum = (Integer) node.getAttribute("NrSum");
6868
} else {
6969
for (Integer n : node0Nr) {

0 commit comments

Comments
 (0)