Skip to content

Commit

Permalink
[SPARK-15057][GRAPHX] Remove stale TODO comment for making enum in …
Browse files Browse the repository at this point in the history
…GraphGenerators

## What changes were proposed in this pull request?

This PR removes a stale TODO comment in `GraphGenerators.scala`

## How was this patch tested?

Just comment removed.

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #12839 from dongjoon-hyun/SPARK-15057.
  • Loading branch information
dongjoon-hyun authored and srowen committed May 3, 2016
1 parent 57ac7c1 commit 46965cd
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ object GraphGenerators extends Logging {
}
}

// TODO(crankshaw) turn result into an enum (or case class for pattern matching}
private def pickQuadrant(a: Double, b: Double, c: Double, d: Double): Int = {
if (a + b + c + d != 1.0) {
throw new IllegalArgumentException("R-MAT probability parameters sum to " + (a + b + c + d)
Expand Down

0 comments on commit 46965cd

Please sign in to comment.