Skip to content
Snippets Groups Projects
Commit 40d720a9 authored by Martin Bauer's avatar Martin Bauer
Browse files

No automatic simplify in SympyAssignment astnode

parent e55c5d8a
No related branches found
No related tags found
No related merge requests found
...@@ -503,7 +503,7 @@ class SympyAssignment(Node): ...@@ -503,7 +503,7 @@ class SympyAssignment(Node):
def __init__(self, lhs_symbol, rhs_expr, is_const=True): def __init__(self, lhs_symbol, rhs_expr, is_const=True):
super(SympyAssignment, self).__init__(parent=None) super(SympyAssignment, self).__init__(parent=None)
self._lhs_symbol = lhs_symbol self._lhs_symbol = lhs_symbol
self.rhs = sp.simplify(rhs_expr) self.rhs = sp.sympify(rhs_expr)
self._is_const = is_const self._is_const = is_const
self._is_declaration = self.__is_declaration() self._is_declaration = self.__is_declaration()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment