Skip to content

Commit

Permalink
bugfix flat23d
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen committed Jun 17, 2016
1 parent f5c6a2e commit f57e292
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 f57e292

Please sign in to comment.