Commit 1a412bc1 authored by 潘栩锋's avatar 潘栩锋 🚴

1. 优化 边界查找 拐点方式查找, 变化率相同不能是拐点。

parent 8c704171
......@@ -553,7 +553,7 @@ namespace FLY.Thick.Base.Server
break;
if (!Misc.MyBase.ISVALIDATA(breakdats[i]))
break;
if (breakdats[i] < breakdats[i + num])
if (breakdats[i] <= breakdats[i + num])
{
//在减少
bg = i;
......@@ -582,7 +582,7 @@ namespace FLY.Thick.Base.Server
if (!Misc.MyBase.ISVALIDATA(filterdats[i]))
break;
if (breakdats[i] < breakdats[i - num])
if (breakdats[i] <= breakdats[i - num])
{
//在减少
eg = i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment