Skip to content

Commit a21f51d

Browse files
authored
Merge pull request #44 from Benezivas/develop
Release 3.0.1
2 parents 6342f3e + f7db490 commit a21f51d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

algobattle/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
__title__ = 'Algorithmic Battle'
2-
__version__ = '3.0.0'
2+
__version__ = '3.0.1'
33
__author__ = 'Jan Dreier, Henri Lotze'
44
__license__ = 'MIT'

algobattle/battle_wrappers/averaged.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ def format_as_utf8(self, match_data: dict) -> str:
152152
+ '║{:>6.2f}║{:>6d}║{:>3d}/{:>3d} ║'.format(latest_approx_ratio,
153153
match_data['approx_inst_size'],
154154
curr_iter,
155-
match_data['approx_iters']) + '\r'
156-
formatted_output_string += '\n╚═════════╩═════════╩' \
155+
match_data['approx_iters']) + '\r\n'
156+
formatted_output_string += '╚═════════╩═════════╩' \
157157
+ ''.join(['══════╩' for i in range(match_data['rounds'])]) \
158158
+ '══════╩══════╩════════╝' + '\n\r'
159159

algobattle/battle_wrappers/iterated.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ def format_as_utf8(self, match_data: dict) -> str:
173173
formatted_output_string += '║{:>9s}║{:>9s}'.format(pair[0], pair[1]) \
174174
+ ''.join(['║{:>6d}'.format(match_data[pair][i]['solved'])
175175
for i in range(match_data['rounds'])]) \
176-
+ '║{:>6d}║{:>6d}║'.format(match_data[pair][curr_round]['cap'], avg) + '\r'
177-
formatted_output_string += '\n╚═════════╩═════════╩' \
176+
+ '║{:>6d}║{:>6d}║'.format(match_data[pair][curr_round]['cap'], avg) + '\r\n'
177+
formatted_output_string += '╚═════════╩═════════╩' \
178178
+ ''.join(['══════╩' for i in range(match_data['rounds'])]) \
179179
+ '══════╩══════╝' + '\n\r'
180180

0 commit comments

Comments
 (0)