From 629d09ff93232f73dbd58d71eba55b24830cfc1e Mon Sep 17 00:00:00 2001 From: Junyuan Xie Date: Sun, 13 Dec 2015 15:53:08 -0800 Subject: [PATCH] lint --- mshadow/extension/broadcast_with_axis.h | 4 ++-- mshadow/extension/reduce_with_axis.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mshadow/extension/broadcast_with_axis.h b/mshadow/extension/broadcast_with_axis.h index 88359844bf32..c10b907d2efe 100644 --- a/mshadow/extension/broadcast_with_axis.h +++ b/mshadow/extension/broadcast_with_axis.h @@ -84,6 +84,6 @@ struct Plan, DType> { Plan src_; const index_t leading_, trailing_, size_, last_; }; -} //namespace expr -} //namespace mshadow +} // namespace expr +} // namespace mshadow #endif // MSHADOW_EXTENSION_BROADCAST_WITH_AXIS_H_ diff --git a/mshadow/extension/reduce_with_axis.h b/mshadow/extension/reduce_with_axis.h index fcca083c6fd8..b1c090ea7fa0 100644 --- a/mshadow/extension/reduce_with_axis.h +++ b/mshadow/extension/reduce_with_axis.h @@ -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 src_shape = ShapeCheck::Check(src_); @@ -89,6 +89,6 @@ struct Plan, DType> { Plan src_; const index_t leading_, trailing_, size_, last_; }; -} //namespace expr -} //namespace mshadow +} // namespace expr +} // namespace mshadow #endif // MSHADOW_EXTENSION_REDUCE_WITH_AXIS_H_