From c54aec9e6c515b34f5db31bcb1bbfbf90eb2a453 Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Thu, 3 Apr 2014 10:46:28 -0700 Subject: [PATCH] Missed index --- prj.el | 2 +- src/main/java/water/fvec/Frame.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prj.el b/prj.el index 6174809043..9defe99bad 100644 --- a/prj.el +++ b/prj.el @@ -7,7 +7,7 @@ '(jde-run-option-debug nil) '(jde-run-option-vm-args (quote ("-XX:+PrintGC"))) '(jde-compile-option-directory "./target/classes") - '(jde-run-option-application-args (quote ("-beta" "-mainClass" "org.junit.runner.JUnitCore" "water.KVTest"))) + '(jde-run-option-application-args (quote ("-beta" "-mainClass" "org.junit.runner.JUnitCore" "water.exec.Expr2Test"))) '(jde-debugger (quote ("JDEbug"))) '(jde-compile-option-source (quote ("1.6"))) '(jde-compile-option-classpath (quote ("./target/classes" "./lib/javassist.jar" "./lib/hadoop/cdh4/hadoop-common.jar" "./lib/hadoop/cdh4/hadoop-auth.jar" "./lib/hadoop/cdh4/slf4j-api-1.6.1.jar" "./lib/hadoop/cdh4/slf4j-nop-1.6.1.jar" "./lib/hadoop/cdh4/hadoop-hdfs.jar" "./lib/hadoop/cdh4/protobuf-java-2.4.0a.jar" "./lib/apache/commons-codec-1.4.jar" "./lib/apache/commons-configuration-1.6.jar" "./lib/apache/commons-lang-2.4.jar" "./lib/apache/commons-logging-1.1.1.jar" "./lib/apache/httpclient-4.1.1.jar" "./lib/apache/httpcore-4.1.jar" "./lib/junit/junit-4.11.jar" "./lib/apache/guava-12.0.1.jar" "./lib/gson/gson-2.2.2.jar" "./lib/poi/poi-3.8-20120326.jar" "./lib/poi/poi-ooxml-3.8-20120326.jar" "./lib/poi/poi-ooxml-schemas-3.8-20120326.jar" "./lib/poi/dom4j-1.6.1.jar" "./lib/Jama/Jama.jar" "./lib/s3/aws-java-sdk-1.3.27.jar" "./lib/log4j/log4j-1.2.15.jar" "./lib/joda/joda-time-2.3.jar"))) diff --git a/src/main/java/water/fvec/Frame.java b/src/main/java/water/fvec/Frame.java index 812084b902..62ea2cb956 100644 --- a/src/main/java/water/fvec/Frame.java +++ b/src/main/java/water/fvec/Frame.java @@ -799,7 +799,7 @@ private static class DeepSlice extends MRTask2 { for( int i=0; i<_cols.length; i++ ) { Chunk oc = chks[_cols[i]]; NewChunk nc = nchks[ i ]; - if( _isInt[_cols[i]] == 1 ) { // Slice on integer columns + if( _isInt[i] == 1 ) { // Slice on integer columns for( int j=rlo; j