Skip to content

Commit

Permalink
Resolve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
acvictor committed Apr 23, 2024
1 parent cb7c124 commit 4ccbb68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/core/SimpleFunctionMetadata.h
Original file line number Diff line number Diff line change
Expand Up @@ -590,8 +590,8 @@ class SimpleFunctionMetadata : public ISimpleFunctionMetadata {

builder.returnType(analysis.outputType);
int32_t position = 0;
VELOX_CHECK_GT(ConstantChecker::getSize(), 0);
for (const auto& arg : analysis.argsTypes) {
VELOX_CHECK_GT(ConstantChecker::getSize(), 0);
if (ConstantChecker::isConstant[position++]) {
builder.constantArgumentType(arg);
} else {
Expand Down

0 comments on commit 4ccbb68

Please sign in to comment.