Skip to content

Commit

Permalink
PUB-923: Cosmetics.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnocandel committed Aug 8, 2014
1 parent 2b80c3d commit 5949aae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/test/java/hex/KMeans2Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static final void testHTML(KMeans2Model m) {
for( int i = 0; i < rows.length; i++ )
rows[i][0] = data[i];
Frame frame = frame(new String[] { "C0" }, rows);
KMeans2 algo = null;
KMeans2 algo;

try {
algo = new KMeans2();
Expand All @@ -48,7 +48,6 @@ public static final void testHTML(KMeans2Model m) {
algo.seed = SEED;
algo.invoke();
KMeans2Model res = UKV.get(algo.dest());
Assert.assertTrue(res != null);
testHTML(res);
Assert.assertTrue(res.get_params().state == Job.JobState.DONE); //HEX-1817
double[][] clusters = res.centers;
Expand All @@ -72,7 +71,7 @@ public void testGaussian(int rows) {
for( int i = 0; i < names.length; i++ )
names[i] = "C" + i;
Frame frame = frame(names, array);
KMeans2 algo = null;
KMeans2 algo;

try {
algo = new KMeans2();
Expand Down

0 comments on commit 5949aae

Please sign in to comment.