In #78 a pre-allocation guess for the neighbor list was added, but was set up to always increase. For a long enough run the system would always run out of memory. Found by @saakethdesai
This fixes by only increasing the allocation guess if the max number of neighbors has changed in a given step
In #78 a pre-allocation guess for the neighbor list was added, but was set up to always increase. For a long enough run the system would always run out of memory. Found by @saakethdesai
This fixes by only increasing the allocation guess if the max number of neighbors has changed in a given step