Skip to content

Commit cadb95f

Browse files
committed
minor tweaks
1 parent b1f2466 commit cadb95f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/paddle/v2/fluid/tests/book_distribute/test_dist_fit_a_line.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,5 @@
5858
fetch_list=[avg_cost])
5959

6060
if avg_loss_value[0] < 10.0:
61-
exit(
62-
0) # if avg cost less than 10.0, we think our code is good.
61+
exit(0)
6362
exit(1)

0 commit comments

Comments
 (0)