Skip to content

Commit

Permalink
removed redundant parameter name in CCodeConverter constructor along …
Browse files Browse the repository at this point in the history
…with its reference
  • Loading branch information
smitgajjar committed Mar 19, 2020
1 parent 5b92c44 commit 209dc40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sympy/parsing/c/c_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class CCodeConverter(BaseParser):
converts them to SymPy Expressions.
"""

def __init__(self, name):
def __init__(self):
"""Initializes the code converter"""
super(CCodeConverter, self).__init__()
self._py_nodes = []
Expand Down Expand Up @@ -650,7 +650,7 @@ def parse_c(source):
List of Python expression strings
"""
converter = CCodeConverter('output')
converter = CCodeConverter()
if os.path.exists(source):
src = converter.parse(source, flags = [])
else:
Expand Down

0 comments on commit 209dc40

Please sign in to comment.