Skip to content
Snippets Groups Projects

WIP: Astnodes for interpolation

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -481,7 +481,7 @@ class SympyAssignment(Node):
def __init__(self, lhs_symbol, rhs_expr, is_const=True):
super(SympyAssignment, self).__init__(parent=None)
self._lhs_symbol = lhs_symbol
self.rhs = rhs_expr
self.rhs = sp.simplify(rhs_expr)
self._is_const = is_const
self._is_declaration = self.__is_declaration()
Loading