Skip to content

Commit

Permalink
Update take_grad.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Godricly authored Jun 22, 2016
1 parent 0198f5f commit 1b5afb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mshadow/extension/take_grad.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ template<typename IndexExp,
typename SrcExp,
typename DType,
int e1, int e2>
inline TakeGradExp<IndexExp, SrcExp, default_real_t>
inline TakeGradExp<IndexExp, SrcExp, DType>
take_grad(const Exp<IndexExp, DType, e1> &index,
const Exp<SrcExp, DType, e2> &src,
const index_t input_dim) {
return TakeGradExp<IndexExp, SrcExp, default_real_t>(index.self(),
return TakeGradExp<IndexExp, SrcExp, DType>(index.self(),
src.self(),
input_dim);
}
Expand Down

0 comments on commit 1b5afb0

Please sign in to comment.