Mike, The methods getNeighbors* all have a toroidal flag you can pass in. Just set to true. Keith On Sep 28, 2006, at 1:55 PM, Michael Makowsky wrote: > How do I make the sparseGrid2D wrap around when evalating > neighborhoods? > > > > mike > > > > > > Michael Makowsky > > H.B. Earhart Fellow > > Graduate Student > > Department of Economics, 3G4 > > George Mason University > > Fairfax, VA 22030 > > 703.608.1366 > > [log in to unmask] > > homepage http://mason.gmu.edu/~mmakowsk > > > >