removed old commented line
This commit is contained in:
parent
804245b172
commit
75309c6edd
1 changed files with 0 additions and 1 deletions
|
|
@ -89,7 +89,6 @@ object Pi extends App {
|
|||
def receive = {
|
||||
case Calculate =>
|
||||
// schedule work
|
||||
//for (arg <- 0 until nrOfMessages) router ! Work(arg, nrOfElements)
|
||||
for (i <- 0 until nrOfMessages) router ! Work(i * nrOfElements, nrOfElements)
|
||||
|
||||
// send a PoisonPill to all workers telling them to shut down themselves
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue