Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
graph_drawing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
graph_drawing
Commits
39cde146
Commit
39cde146
authored
12 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Multiplication divided by negated multiplication now also works correctly.
parent
a9eb446f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
line.py
+1
-1
1 addition, 1 deletion
line.py
with
1 addition
and
1 deletion
line.py
+
1
−
1
View file @
39cde146
...
...
@@ -248,7 +248,7 @@ def generate_line(root):
if
rpred
<
op_pred
:
rparens
=
not
unary_right
\
or
(
pred
(
right
[
0
])
<
op_pred
and
len
(
right
[
0
]
)
>
1
)
or
(
op
==
'
/
'
and
right
[
0
]
.
title
()
in
'
*/
'
)
elif
rpred
==
op_pred
and
len
(
right
)
>
1
:
if
right
.
title
()
==
op
:
rparens
=
not
is_right_assoc
(
op
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment