Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
graph_drawing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
graph_drawing
Commits
fa7bed92
Commit
fa7bed92
authored
Jan 08, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected typo.
parent
bf0b2e54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
line.py
line.py
+2
-2
No files found.
line.py
View file @
fa7bed92
...
@@ -107,7 +107,7 @@ def generate_line(root):
...
@@ -107,7 +107,7 @@ def generate_line(root):
if
op
==
'*'
:
if
op
==
'*'
:
left
,
right
=
node
left
,
right
=
node
# Get the previous multiplcation element if the arity is
# Get the previous multipl
i
cation element if the arity is
# greater than 2
# greater than 2
if
left
.
title
()
==
'*'
:
if
left
.
title
()
==
'*'
:
left
=
left
[
1
]
left
=
left
[
1
]
...
@@ -130,7 +130,7 @@ def generate_line(root):
...
@@ -130,7 +130,7 @@ def generate_line(root):
result
+=
sep
.
join
(
e
)
result
+=
sep
.
join
(
e
)
else
:
else
:
# Function
# Function
call
result
=
op
+
'('
+
', '
.
join
(
map
(
traverse
,
node
))
+
')'
result
=
op
+
'('
+
', '
.
join
(
map
(
traverse
,
node
))
+
')'
return
result
return
result
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment