提交 545e58f7 authored 作者: Ricardo Vieira's avatar Ricardo Vieira 提交者: Ricardo Vieira

Fix string error on SymbolicInputVariables with updates

PyTensor Variables cannot be called `bool` upon
上级 2948525f
......@@ -95,7 +95,7 @@ class SymbolicInput:
self.implicit = implicit
def __str__(self):
if self.update:
if self.update is not None:
return f"In({self.variable} -> {self.update})"
else:
return f"In({self.variable})"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论