提交 14fd8149 authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #2666 from diogo149/master

rename NotScalarConstantValue->NotScalarConstantError
......@@ -52,7 +52,7 @@ def is_equal(var, val):
try:
v = get_scalar_constant_value(var)
return v == val
except NotScalarConstantValue:
except NotScalarConstantError:
return False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论