Debug编译通过,Release编译报错,为什么
1个回答
2016-01-04
展开全部
for (int i = gap; i < allsize; i++)
{
if (abs(pDstCoef[i]) < thr)//小于阈值的置零,大于的收缩
{
pDstCoef[i] = 0.0;
}
else
{
if (pDstCoef[i] < 0.0)
pDstCoef[i] = thr - abs(pDstCoef[i]);
else
pDstCoef[i] = abs(pDstCoef[i]) - thr;
}
{
if (abs(pDstCoef[i]) < thr)//小于阈值的置零,大于的收缩
{
pDstCoef[i] = 0.0;
}
else
{
if (pDstCoef[i] < 0.0)
pDstCoef[i] = thr - abs(pDstCoef[i]);
else
pDstCoef[i] = abs(pDstCoef[i]) - thr;
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询