diff --git a/JSAT/src/jsat/regression/RegressionDataSet.java b/JSAT/src/jsat/regression/RegressionDataSet.java
index <HASH>..<HASH> 100644
--- a/JSAT/src/jsat/regression/RegressionDataSet.java
+++ b/JSAT/src/jsat/regression/RegressionDataSet.java
@@ -68,7 +68,7 @@ public class RegressionDataSet extends DataSet
             for(int i = 0; i < origVec.length()-1; i++)
             {
                 if(i >= predicting)
-                    newVec.set(i+1, origVec.get(i+1));
+                    newVec.set(i, origVec.get(i+1));
                 else
                     newVec.set(i, origVec.get(i));
             }
Fixed off by one bug in one of the constructors. 

git-svn-id: <URL>