Skip to content

Commit

Permalink
fix warning on strict compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
redpony committed Oct 30, 2016
1 parent 3f39354 commit 69e3042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynet/rnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ struct SimpleRNNBuilder : public RNNBuilder {
void start_new_sequence_impl(const std::vector<Expression>& h_0) override;
Expression add_input_impl(int prev, const Expression& x) override;
Expression set_h_impl(int prev, const std::vector<Expression>& h_new) override;
Expression set_s_impl(int prev, const std::vector<Expression>& s_new) {return set_h_impl(prev, s_new);}
Expression set_s_impl(int prev, const std::vector<Expression>& s_new) override {return set_h_impl(prev, s_new);}

public:
/**
Expand Down

0 comments on commit 69e3042

Please sign in to comment.