Revision b60d1cba
Added by Leszek Koltunski about 1 year ago
src/main/java/org/distorted/objectlib/tablebases/TablebasesAbstract.java | ||
---|---|---|
527 | 527 |
{ |
528 | 528 |
int randomPosition = rnd.nextInt(mSize-1); |
529 | 529 |
int[][] sol = solution(randomPosition,cornerTwist,null); |
530 |
solDepth = sol.length;
|
|
530 |
solDepth = (sol!=null ? sol.length : 0);
|
|
531 | 531 |
|
532 | 532 |
if( solDepth>=depth ) |
533 | 533 |
{ |
Also available in: Unified diff
Beginnings of CU_323 solver.