start of new file
[IRC.git] / Robust / src / Benchmarks / Prefetch / Em3d / dsm / BiGraph.java
index b92fe89f7f5e86d5e8e78314ecec716ac0171855..81ff95c0987ff56691e5f4cfe5316d134266ac60 100644 (file)
@@ -36,19 +36,13 @@ public class BiGraph
    * @return the bi graph that we've created.
    **/
 
-  BiGraph create(int numNodes, int numDegree, boolean verbose, Random r)
+  static BiGraph create(int numNodes, int numDegree, boolean verbose, Random r)
   {
 
     // making nodes (we create a table)
     //if (verbose) System.printString("making nodes (tables in orig. version)");
-    Node[] hTable = global new Node[1];
-
-    Node[] eTable = global new Node[1];
-
-    if (true) {
-       eTable=Node.fillTable(numNodes, numDegree, r);
-       hTable=Node.fillTable(numNodes, numDegree, r);
-    }
+    Node [] eTable=Node.fillTable(numNodes, numDegree, r);
+    Node [] hTable=Node.fillTable(numNodes, numDegree, r);
 
     // making neighbors
     //if (verbose) System.printString("updating from and coeffs");