X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Festimate%2FLearnParameters.java;h=74021dd3b2ba46fd03e6fddbd9054b50ba6ae65a;hb=326f489e36aa7f235bc19409a57bf4955cd50f24;hp=8f4ea68bb5236e202c14a6b0cea481cf494610f3;hpb=7f5ed2be62905bd37717376dc22d09e5ea7edb4d;p=GpsPrune.git diff --git a/tim/prune/function/estimate/LearnParameters.java b/tim/prune/function/estimate/LearnParameters.java index 8f4ea68..74021dd 100644 --- a/tim/prune/function/estimate/LearnParameters.java +++ b/tim/prune/function/estimate/LearnParameters.java @@ -110,7 +110,7 @@ public class LearnParameters extends GenericFunction implements Runnable int startIndex = i * sampleSize; RangeStats stats = getRangeStats(track, startIndex, startIndex + sampleSize, prevStartIndex); if (stats != null && stats.getMovingDistanceKilometres() > 1.0 - && !stats.getTimestampsIncomplete() + && !stats.getTimestampsIncomplete() && !stats.getTimestampsOutOfSequence() && stats.getTotalDurationInSeconds() > 100 && stats.getStartIndex() > prevStartIndex) {