Skip to content

Commit 32d69ab

Browse files
committed
_on_infix
1 parent f45e2ed commit 32d69ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffpy/srfit/equation/visitors/printer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def onOperator(self, op):
8787
"""Process an Operator node."""
8888
# We have to deal with infix operators
8989
if op.name != op.symbol and op.nin == 2:
90-
self._onInfix(op)
90+
self._on_infix(op)
9191
return self.output
9292

9393
self.output += str(op.name) + "("
@@ -111,7 +111,7 @@ def onEquation(self, eq):
111111
eq.root.identify(self)
112112
return self.output
113113

114-
def _onInfix(self, op):
114+
def _on_infix(self, op):
115115
"""Process infix operators."""
116116
self.output += "("
117117
op.args[0].identify(self)

0 commit comments

Comments
 (0)