Skip to content

Commit ac96cec

Browse files
authored
Fix execution counts in predator-prey notebook
1 parent 945e046 commit ac96cec

1 file changed

Lines changed: 4 additions & 28 deletions

File tree

‎Week_5_systems/lec_act_5_predator_prey.ipynb‎

Lines changed: 4 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "code",
5-
<<<<<<< HEAD
65
"execution_count": 2,
7-
=======
8-
"execution_count": 1,
9-
>>>>>>> 0c58d27a2b21bcdedb2b8400bc93f5ca628e9709
106
"metadata": {
117
"deletable": false,
128
"editable": false
@@ -45,11 +41,7 @@
4541
},
4642
{
4743
"cell_type": "code",
48-
<<<<<<< HEAD
4944
"execution_count": 3,
50-
=======
51-
"execution_count": 2,
52-
>>>>>>> 0c58d27a2b21bcdedb2b8400bc93f5ca628e9709
5345
"metadata": {},
5446
"outputs": [],
5547
"source": [
@@ -84,11 +76,7 @@
8476
},
8577
{
8678
"cell_type": "code",
87-
<<<<<<< HEAD
8879
"execution_count": 4,
89-
=======
90-
"execution_count": 3,
91-
>>>>>>> 0c58d27a2b21bcdedb2b8400bc93f5ca628e9709
9280
"metadata": {
9381
"tags": [
9482
"otter_answer_cell"
@@ -109,33 +97,21 @@
10997
},
11098
{
11199
"cell_type": "code",
112-
<<<<<<< HEAD
113100
"execution_count": 5,
114-
=======
115-
"execution_count": 4,
116-
>>>>>>> 0c58d27a2b21bcdedb2b8400bc93f5ca628e9709
101+
117102
"metadata": {
118103
"tags": [
119104
"otter_answer_cell"
120105
]
121106
},
122107
"outputs": [
123-
{
124-
<<<<<<< HEAD
125-
"ename": "TypeError",
126-
"evalue": "compute_prey_from_prey_and_predator() got an unexpected keyword argument 'prey'",
127-
"output_type": "error",
128-
"traceback": [
129-
"\u001b[31m---------------------------------------------------------------------------\u001b[39m",
130-
"\u001b[31mTypeError\u001b[39m Traceback (most recent call last)",
131-
"\u001b[36mCell\u001b[39m\u001b[36m \u001b[39m\u001b[32mIn[5]\u001b[39m\u001b[32m, line 18\u001b[39m\n\u001b[32m 14\u001b[39m \n\u001b[32m 15\u001b[39m prey_initial = \u001b[32m100\u001b[39m\n\u001b[32m 16\u001b[39m predator_initial = \u001b[32m100\u001b[39m\n\u001b[32m 17\u001b[39m \n\u001b[32m---> \u001b[39m\u001b[32m18\u001b[39m prey_new = compute_prey_from_prey_and_predator(prey=prey_initial, predator=predator_initial, params=params)\n\u001b[32m 19\u001b[39m \n\u001b[32m 20\u001b[39m print(f\"Checking prey new {prey_new}, should be 90\")\n",
132-
"\u001b[31mTypeError\u001b[39m: compute_prey_from_prey_and_predator() got an unexpected keyword argument 'prey'"
133-
=======
108+
109+
134110
"name": "stdout",
135111
"output_type": "stream",
136112
"text": [
137113
"Checking prey new 90.0, should be 90\n"
138-
>>>>>>> 0c58d27a2b21bcdedb2b8400bc93f5ca628e9709
114+
139115
]
140116
}
141117
],

0 commit comments

Comments
 (0)