Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
piiswrong committed Dec 13, 2015
1 parent 697d5b2 commit 629d09f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mshadow/extension/broadcast_with_axis.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ struct Plan<BroadcastWithAxisExp<axis, SrcExp, DType, srcdim>, DType> {
Plan<SrcExp, DType> src_;
const index_t leading_, trailing_, size_, last_;
};
} //namespace expr
} //namespace mshadow
} // namespace expr
} // namespace mshadow
#endif // MSHADOW_EXTENSION_BROADCAST_WITH_AXIS_H_
6 changes: 3 additions & 3 deletions mshadow/extension/reduce_with_axis.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct ReduceWithAxisExp:
/*! \brief size of last src dimension */
index_t last_;
/*! constructor */
ReduceWithAxisExp(const SrcExp &src)
explicit ReduceWithAxisExp(const SrcExp &src)
: src_(src) {
CHECK(srcdim > axis) << "reduce axis out of bound";
Shape<srcdim> src_shape = ShapeCheck<srcdim, SrcExp>::Check(src_);
Expand Down Expand Up @@ -89,6 +89,6 @@ struct Plan<ReduceWithAxisExp<Reducer, axis, SrcExp, DType, srcdim>, DType> {
Plan<SrcExp, DType> src_;
const index_t leading_, trailing_, size_, last_;
};
} //namespace expr
} //namespace mshadow
} // namespace expr
} // namespace mshadow
#endif // MSHADOW_EXTENSION_REDUCE_WITH_AXIS_H_

0 comments on commit 629d09f

Please sign in to comment.