diff --git a/Exercise sheet 6/exercise_sheet_06.ipynb b/Exercise sheet 6/exercise_sheet_06.ipynb index 738ac6c..d04ff24 100644 --- a/Exercise sheet 6/exercise_sheet_06.ipynb +++ b/Exercise sheet 6/exercise_sheet_06.ipynb @@ -289,6 +289,8 @@ " cluster_size = 1\n", " while unvisited:\n", " site = unvisited.pop()\n", + " # As the site is already added to the queue, it has already been flipped\n", + " # so we need to take a minus into account.\n", " s_i_n = -state[site]@nhat\n", " for nbr in neighboring_sites(site,w):\n", " s_j_n = state[nbr]@nhat\n",