Skip to content
Snippets Groups Projects
Commit 2259867d authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Sympyfy rhs of SympyAssignment (so we can assign numbers)

parent 099c281a
Branches
No related tags found
No related merge requests found
...@@ -481,7 +481,7 @@ class SympyAssignment(Node): ...@@ -481,7 +481,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 = rhs_expr self.rhs = sp.simplify(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