Skip to content

Commit 023876b

Browse files
committed
errmsg fix
1 parent 6af086a commit 023876b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymc3/math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def __init__(self, sparse=False, format='csr'):
202202

203203
def make_node(self, *matrices):
204204
if not matrices:
205-
raise ValueError('Got no matrices to allocate')
205+
raise ValueError('no matrices to allocate')
206206
matrices = list(map(tt.as_tensor, matrices))
207207
if any(mat.type.ndim != 2 for mat in matrices):
208208
raise TypeError('all data arguments must be matrices')

pymc3/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ def update_start_vals(a, b, model):
148148
def get_transformed(z):
149149
if hasattr(z, 'transformed'):
150150
z = z.transformed
151-
return z
151+
return z

0 commit comments

Comments
 (0)