Closed GoogleCodeExporter closed 8 years ago
This code snippet caused the problem: with M=0 and N=0
// these are local constants
final int N = orig.length;
final int M = rev.length;
final int MAX = N + M + 1;
final int size = 1 + 2 * MAX;
final int middle = (size + 1) / 2;
final PathNode diagonal[] = new PathNode[size];
diagonal[middle + 1] = new Snake(0, -1, null); <--- die at this line :)
Original comment by xuantinh@gmail.com
on 5 Oct 2010 at 5:11
[deleted comment]
Original comment by dm.naume...@gmail.com
on 15 Oct 2010 at 11:36
Thanks, was fixed in the latest commits. I will update you when these changes
will be released.
Original comment by dm.naume...@gmail.com
on 15 Oct 2010 at 11:56
Original issue reported on code.google.com by
xuantinh@gmail.com
on 5 Oct 2010 at 5:08