I found a temporary fix for this. I simply placed the Spins on the Lattice first, then set the neighbors afterwards. I am not entirely sure why this worked and the previous code did not, but at least the code is now giving sensible results. The real fix for this issue will be addressed in the redesign of the inheritance relationships.
I found a temporary fix for this. I simply placed the Spins on the Lattice first, then set the neighbors afterwards. I am not entirely sure why this worked and the previous code did not, but at least the code is now giving sensible results. The real fix for this issue will be addressed in the redesign of the inheritance relationships.