提交 ad93fc63 编写于 作者: G Ganlin Zhao

fix(query): fix bug in multi-input math functions

上级 b70c0198
...@@ -21,8 +21,9 @@ static double tlog(double v, double base) { ...@@ -21,8 +21,9 @@ static double tlog(double v, double base) {
return a; return a;
} else if (isnan(b) || isinf(b)) { } else if (isnan(b) || isinf(b)) {
return b; return b;
} else {
return a / b;
} }
return a / b;
} }
int32_t absFunction(SScalarParam *pInput, int32_t inputNum, SScalarParam *pOutput) { int32_t absFunction(SScalarParam *pInput, int32_t inputNum, SScalarParam *pOutput) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册