Skip to content

Commit f8e5d83

Browse files
adding stds explicitly
1 parent 6c83b0a commit f8e5d83

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Chapter3_MCMC/Chapter3.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,8 @@
450450
}
451451
],
452452
"source": [
453-
"taus = 1.0 / pm.Uniform(\"stds\", 0, 100, size=2) ** 2\n",
453+
"stds = pm.Uniform(\"stds\", 0, 100, size=2)\n",
454+
"taus = 1.0 / stds ** 2\n",
454455
"centers = pm.Normal(\"centers\", [120, 190], [0.01, 0.01], size=2)\n",
455456
"\n",
456457
"\"\"\"\n",
@@ -1451,7 +1452,7 @@
14511452
"name": "python",
14521453
"nbconvert_exporter": "python",
14531454
"pygments_lexer": "ipython2",
1454-
"version": "2.7.6"
1455+
"version": "2.7.11"
14551456
}
14561457
},
14571458
"nbformat": 4,

0 commit comments

Comments
 (0)