Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Apr 29, 2014
1 parent 6e35d7e commit 7b58c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object TallSkinnyPCA {
val sc = new SparkContext(conf)

// Load and parse the data file.
val rows = sc.textFile(args(1)).map { line =>
val rows = sc.textFile(args(0)).map { line =>
val values = line.split(' ').map(_.toDouble)
Vectors.dense(values)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ object TallSkinnySVD {
val sc = new SparkContext(conf)

// Load and parse the data file.
val rows = sc.textFile(args(1)).map { line =>
val rows = sc.textFile(args(0)).map { line =>
val values = line.split(' ').map(_.toDouble)
Vectors.dense(values)
}
Expand Down

0 comments on commit 7b58c60

Please sign in to comment.