Permalink
Browse files

Merge pull request #329 from mkcor/master

Fix typos in code examples.
  • Loading branch information...
2 parents 87a3985 + 05c705b commit 2c7e604ed0810d47bb14fd412fb000d8dc29c35a @CamDavidsonPilon committed on GitHub Nov 1, 2016
@@ -7,7 +7,7 @@
alpha = 1.0 / count_data.mean() # recall count_data is
# the variable that holds our txt counts
-lambda_1 = pm.Exponential("lambda_1", alpha)
+lambda_1 = pm.Exponential("lambda_1", alpha)
lambda_2 = pm.Exponential("lambda_2", alpha)
tau = pm.DiscreteUniform("tau", lower=0, upper=n_count_data)
@@ -13,8 +13,8 @@
centers = pm.Normal("centers", [150, 150], [0.001, 0.001], size=2)
"""
-The below deterministic functions map a assingment, in this case 0 or 1,
-to a set of parameters, located in the (1,2) arrays `taus` and `centers.`
+The below deterministic functions map an assignment, in this case 0 or 1,
+to a set of parameters, located in the (1, 2) arrays `taus` and `centers.`
"""

0 comments on commit 2c7e604

Please sign in to comment.