Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
litaotju committed Jan 13, 2020
1 parent 0e2c9cd commit c835c36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/operator/nn/concat.cc
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ bool ConcatType(const nnvm::NodeAttrs& attrs,
int dtype = -1;

// checks uniformity of input
for (size_t i =0; i<in_type->size(); ++i) {
for (size_t i =0; i < in_type->size(); ++i) {
if (dtype == -1) {
dtype = in_type->at(i);
} else {
CHECK( in_type->at(i) == dtype || in_type->at(i) == -1)
CHECK(in_type->at(i) == dtype || in_type->at(i) == -1)
<< "Non-uniform data type in " << attrs.op->name
<< ", expected data type " << mxnet::op::type_string(dtype)
<< ", expected data type " << mxnet::op::type_string(dtype)
<< ", got data type " << mxnet::op::type_string(in_type->at(i))
<< " for input " << i;
}
Expand Down

0 comments on commit c835c36

Please sign in to comment.