diff options
author | Nick Pentreath <nick.pentreath@gmail.com> | 2013-01-17 16:05:27 +0200 |
---|---|---|
committer | Nick Pentreath <nick.pentreath@gmail.com> | 2013-01-17 16:05:27 +0200 |
commit | a512df551f85086a6ec363744542e74749c6b560 (patch) | |
tree | 52ce380d88be3ca3a3c5d49587d5adc694a32303 /examples | |
parent | 42fbef3c2a6460bcd389bb86306be3ebc14c998b (diff) | |
download | spark-a512df551f85086a6ec363744542e74749c6b560.tar.gz spark-a512df551f85086a6ec363744542e74749c6b560.tar.bz2 spark-a512df551f85086a6ec363744542e74749c6b560.zip |
Fixed index error missing first argument
Diffstat (limited to 'examples')
-rw-r--r-- | examples/src/main/scala/spark/examples/SparkALS.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/main/scala/spark/examples/SparkALS.scala b/examples/src/main/scala/spark/examples/SparkALS.scala index cbd749666d..4672812565 100644 --- a/examples/src/main/scala/spark/examples/SparkALS.scala +++ b/examples/src/main/scala/spark/examples/SparkALS.scala @@ -99,7 +99,7 @@ object SparkALS { var host = "" var slices = 0 - (1 to 6).map(i => { + (0 to 5).map(i => { i match { case a if a < args.length => Option(args(a)) case _ => Option(null) |