Commit 03268eb5 authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed syntax error.

parent 86b34864
......@@ -45,5 +45,5 @@ def optimize(program, verbose=0):
# Print results
if verbose:
print 'Original statements: %d' % o
print 'Statements removed: %d (%d%%)'
print 'Statements removed: %d (%d%%)' \
% (o - b, int((o - b) / float(b) * 100))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment