Skip to content

Commit

Permalink
Merge pull request apache#133 from tqchen/master
Browse files Browse the repository at this point in the history
bugfix flat23d
  • Loading branch information
tqchen authored Jun 17, 2016
2 parents 6613f62 + f57e292 commit 02a4a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mshadow/tensor_blob.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ struct TShape {
for (index_t i = 0; i < axis; ++i) {
s.shape_[0] *= d[i];
}
for (index_t i = axis; i < ndim_; ++i) {
for (index_t i = axis + 1; i < ndim_; ++i) {
s.shape_[2] *= d[i];
}
return s;
Expand Down

0 comments on commit 02a4a0e

Please sign in to comment.