Skip to content

Commit 0b40b7f

Browse files
committed
feat(initconds): fix patient count
1 parent 02f3a8f commit 0b40b7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/14_initial_conditions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@
354354
},
355355
{
356356
"cell_type": "code",
357-
"execution_count": 8,
357+
"execution_count": 35,
358358
"id": "b3e686ce-5371-4471-a052-b9d43309bc85",
359359
"metadata": {},
360360
"outputs": [],
@@ -379,7 +379,7 @@
379379
" inter_arrival_time = args.arrival_strokes.sample()\n",
380380
" yield env.timeout(inter_arrival_time)\n",
381381
"\n",
382-
" args.results[\"n_arrivals\"] = patient_id\n",
382+
" args.results[\"n_arrivals\"] += 1\n",
383383
" \n",
384384
" trace(f\"{env.now:.2f}: Stroke arrival.\")\n",
385385
"\n",

0 commit comments

Comments
 (0)