Author: kono
Date: 2012-06-19 16:22:48 -0700 (Tue, 19 Jun 2012)
New Revision: 29629

Modified:
   
core3/impl/trunk/layout-cytoscape-impl/src/main/java/csapps/layout/algorithms/graphPartition/DegreeSortedCircleLayoutTask.java
Log:
Degree should be integer, not Double.

Modified: 
core3/impl/trunk/layout-cytoscape-impl/src/main/java/csapps/layout/algorithms/graphPartition/DegreeSortedCircleLayoutTask.java
===================================================================
--- 
core3/impl/trunk/layout-cytoscape-impl/src/main/java/csapps/layout/algorithms/graphPartition/DegreeSortedCircleLayoutTask.java
      2012-06-19 23:09:14 UTC (rev 29628)
+++ 
core3/impl/trunk/layout-cytoscape-impl/src/main/java/csapps/layout/algorithms/graphPartition/DegreeSortedCircleLayoutTask.java
      2012-06-19 23:22:48 UTC (rev 29629)
@@ -61,8 +61,8 @@
                                final int d2 = 
network.getAdjacentEdgeList(node2, CyEdge.Type.ANY).size();
 
                                // Create Degree Attribute
-                               o1.getRow().set(DEGREE_ATTR_NAME, (double) d1);
-                               o2.getRow().set(DEGREE_ATTR_NAME, (double) d2);
+                               o1.getRow().set(DEGREE_ATTR_NAME, d1);
+                               o2.getRow().set(DEGREE_ATTR_NAME, d2);
 
                                return (d2 - d1);
                        }

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to