From 0cb80b594d801f4824a1b98e47f6f4346cdafea4 Mon Sep 17 00:00:00 2001 From: Graham Taylor Date: Thu, 7 Mar 2024 23:05:31 -0500 Subject: [PATCH] Remove unused variable assignment chap11 nb --- notebooks/chap11.ipynb | 1 - 1 file changed, 1 deletion(-) diff --git a/notebooks/chap11.ipynb b/notebooks/chap11.ipynb index 69acfd4..a0297ab 100644 --- a/notebooks/chap11.ipynb +++ b/notebooks/chap11.ipynb @@ -317,7 +317,6 @@ " def step(self):\n", " \"\"\"Simulate a time step and update the instruments.\n", " \"\"\"\n", - " n = len(self.agents)\n", " fits = self.get_fitnesses()\n", " \n", " # see who dies\n",