removed old commented line

This commit is contained in:
Patrik Nordwall 2011-04-19 20:31:49 +02:00
parent 804245b172
commit 75309c6edd

View file

@ -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