Skip to content

Commit

Permalink
Issue #163: fixed unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffheaton committed Jan 11, 2014
1 parent 11bb5ac commit d9a83c5
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -331,13 +331,6 @@ private double formatData(final TemporalDataDescription desc,
final int index) {
final double[] result = new double[1];

if( desc.getType()==Type.DELTA_CHANGE || desc.getType()==Type.PERCENT_CHANGE ) {
if (index + this.inputWindowSize > this.points.size()) {
throw new TemporalError("Can't generate input temporal data "
+ "beyond the end of provided data.");
}
}

switch (desc.getType()) {
case DELTA_CHANGE:
result[0] = getDataDeltaChange(desc, index);
Expand Down

0 comments on commit d9a83c5

Please sign in to comment.