projects
/
IRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
779b899
)
fix array reading bug
author
adash
<adash>
Thu, 9 Apr 2009 00:05:16 +0000
(
00:05
+0000)
committer
adash
<adash>
Thu, 9 Apr 2009 00:05:16 +0000
(
00:05
+0000)
Robust/src/Benchmarks/SingleTM/LeeRouting/LeeRouter.java
patch
|
blob
|
history
diff --git
a/Robust/src/Benchmarks/SingleTM/LeeRouting/LeeRouter.java
b/Robust/src/Benchmarks/SingleTM/LeeRouting/LeeRouter.java
index e29263d5ba1c3b0fa9d5cef160181c62f2242773..1eb389dc665e12353825e330bc04ddc6d41db1eb 100644
(file)
--- a/
Robust/src/Benchmarks/SingleTM/LeeRouting/LeeRouter.java
+++ b/
Robust/src/Benchmarks/SingleTM/LeeRouting/LeeRouter.java
@@
-85,7
+85,7
@@
public class LeeRouter {
MAX_WEIGHT = 1;
netNo = 0;
// note these very useful arrays
-
int dx[][]
= new int[2][4];
+
dx
= new int[2][4];
dx[0][0] = -1;
dx[0][1] = 1;
dx[0][2] = 0;
@@
-95,7
+95,7
@@
public class LeeRouter {
dx[1][2] = -1;
dx[1][3] = 1;
// to help look NSEW.
-
int dy[][]
= new int[2][4];
+
dy
= new int[2][4];
dy[0][0] = 0;
dy[0][1] = 0;
dy[0][2] = -1;