Skip to content

Commit

Permalink
Fixed namespace error in test_examples
Browse files Browse the repository at this point in the history
  • Loading branch information
fonnesbeck committed Jan 19, 2017
1 parent f6710b0 commit f1d6201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymc3/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def build_model(self):
self.y = true_intercept + self.x * true_slope + np.random.normal(scale=.5, size=size)
data = dict(x=self.x, y=self.y)
with pm.Model() as model:
pm.glm.glm('y ~ x', data)
pm.linear_models.glm('y ~ x', data)
return model

def test_run(self):
Expand Down

0 comments on commit f1d6201

Please sign in to comment.