Skip to content

Commit ae34e26

Browse files
Narcissus7laixintao
authored andcommitted
Update 04_Scientic_computing_with_SCOOP.rst
1 parent 8365ac4 commit ae34e26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chapter5/04_Scientic_computing_with_SCOOP.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ SCOOP 内置了很多适用于科学计算场景的功能,可以解决很多
5454
return points_fallen_in_unit_disk
5555

5656
def pi_calculus_with_Montecarlo_Method(workers, attempts):
57-
print("number of workers %i - number of attempts %i"
58-
%(workers,attempts))
57+
print("number of workers %i - number of attempts %i" % (workers,attempts))
5958
bt = time()
6059
#in this point we call scoop.futures.map function
6160
#the evaluate_number_of_points_in_unit_circle \

0 commit comments

Comments
 (0)