提交 d273d0f4 authored 作者: Joseph Turian's avatar Joseph Turian

Small bugfix: NotImplemented => NotImplementedError

上级 4ee75381
...@@ -682,7 +682,7 @@ class StructuredDot(gof.Op): ...@@ -682,7 +682,7 @@ class StructuredDot(gof.Op):
if a.shape[1] != b.shape[0]: if a.shape[1] != b.shape[0]:
raise ValueError('shape mismatch in StructuredDot.perform', (a.shape, b.shape)) raise ValueError('shape mismatch in StructuredDot.perform', (a.shape, b.shape))
if b.shape[0] == 1: if b.shape[0] == 1:
raise NotImplemented('ERROR: scipy.csc_matrix dot has bug with singleton dimensions') raise NotImplementedError('ERROR: scipy.csc_matrix dot has bug with singleton dimensions')
result = a.dot(b) result = a.dot(b)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论