Mercurial > hg > Database > Alice
changeset 167:a55acaea1eb1 working
minor change
author | sugi |
---|---|
date | Sat, 15 Dec 2012 12:45:27 +0900 |
parents | a3f7f25f884b |
children | f846527a98b7 |
files | src/alice/test/codesegment/local/bitonicsort/ShowData.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/alice/test/codesegment/local/bitonicsort/ShowData.java Fri Dec 14 17:17:41 2012 +0900 +++ b/src/alice/test/codesegment/local/bitonicsort/ShowData.java Sat Dec 15 12:45:27 2012 +0900 @@ -9,10 +9,11 @@ public class ShowData extends CodeSegment{ - private Receiver[] info = new Receiver[10]; + private Receiver[] info; private Receiver info0 = ids.create(CommandType.PEEK); public ShowData(int cnt) { + info = new Receiver[cnt+1]; for (int i= 0;i<= cnt; i++) info[i] = ids.create(CommandType.PEEK); for (int i= 0;i<= cnt; i++)