X-Git-Url: https://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=tim%2Fprune%2Ffunction%2Festimate%2FLearnParameters.java;h=74021dd3b2ba46fd03e6fddbd9054b50ba6ae65a;hp=8f4ea68bb5236e202c14a6b0cea481cf494610f3;hb=326f489e36aa7f235bc19409a57bf4955cd50f24;hpb=8c8868ae29b3252f02e094c02307384cf61ba667 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) {