changed divnonan back to PrimitiveWithInfer

pull/8670/head
Peilin Wang 4 years ago
parent 52eb2d3401
commit 7bbfe2aaf8

@ -1829,7 +1829,7 @@ class Div(_MathBinaryOp):
return None
class DivNoNan(PrimitiveWithCheck):
class DivNoNan(_MathBinaryOp):
"""
Computes a safe divide which returns 0 if the y is zero.

Loading…
Cancel
Save