Commit in GeomConverter/src/org/lcsim/geometry/segmentation on MAIN | |||
AbstractCartesianGrid.java | +1 | -1 | 1.4 -> 1.5 |
Remove self from neighbor list
diff -u -r1.4 -r1.5 --- AbstractCartesianGrid.java 19 Nov 2009 18:10:57 -0000 1.4 +++ AbstractCartesianGrid.java 20 Nov 2009 18:03:43 -0000 1.5 @@ -299,7 +299,7 @@
gnEncoder.setValue(vIndex, neighborV); // Add the neighbor id to the return array.
- neighbors.add(gnEncoder.getID());
+ if( this.getDecoder().getID()!= gnEncoder.getID())neighbors.add(gnEncoder.getID());
} } }