Unverified 提交 9c96c7e2 authored 作者: Dan F-M's avatar Dan F-M

fixing typo in GammaIncC Op

上级 bb629b6a
...@@ -596,7 +596,7 @@ class GammaIncC(BinaryScalarOp): ...@@ -596,7 +596,7 @@ class GammaIncC(BinaryScalarOp):
if node.inputs[0].type in float_types: if node.inputs[0].type in float_types:
dtype = 'npy_' + node.outputs[0].dtype dtype = 'npy_' + node.outputs[0].dtype
return """%(z)s = return """%(z)s =
(%(dtype)s) gammaQ(%(k)s, %(x)s);""" % locals() (%(dtype)s) GammaQ(%(k)s, %(x)s);""" % locals()
raise NotImplementedError('only floatingpoint is implemented') raise NotImplementedError('only floatingpoint is implemented')
def __eq__(self, other): def __eq__(self, other):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论