#10 -- revert
This commit is contained in:
parent
71920cf604
commit
63468230ad
@ -58,7 +58,7 @@ public class TimeSeriesService {
|
||||
|
||||
public TimeSeries getGroupedTendencies(TimeSeries timeSeries) {
|
||||
try {
|
||||
timeSeries = smoothTimeSeries(timeSeries, "FTransform").getTimeSeries();
|
||||
timeSeries = getMaxSmoothedTimeSeries(timeSeries).getTimeSeries();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
@ -81,7 +81,7 @@ public class TimeSeriesService {
|
||||
|
||||
private boolean tsTendencyNotChanged(double diff, double prevDiff) {
|
||||
return (diff > 0 && prevDiff > 0)
|
||||
|| ((diff < 0 && prevDiff < 0)
|
||||
|| ((diff == 0 && prevDiff == 0)));
|
||||
|| (diff < 0 && prevDiff < 0)
|
||||
|| (diff == 0 && prevDiff == 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user