Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
qipeng authored and jeffdonahue committed Sep 1, 2014
1 parent c1ff97c commit 06f335f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/caffe/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ class AdaGradSolver : public SGDSolver<Dtype> {
protected:
virtual void ComputeUpdateValue();
void constructor_sanity_check() {
CHECK_EQ(0, this->param_.momentum()) << "Momentum cannot be used with AdaGrad.";
CHECK_EQ(0, this->param_.momentum())
<< "Momentum cannot be used with AdaGrad.";
}

DISABLE_COPY_AND_ASSIGN(AdaGradSolver);
Expand Down

0 comments on commit 06f335f

Please sign in to comment.