Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fixing windows CI for Large Tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Kumar Srivastava committed Jul 2, 2020
1 parent 8a21a83 commit 1b4e4b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operator/numpy/np_polynomial_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ struct polyval_backward_p {
DType igrad_p = 0;
index_t j = x_size - 1;
while (j >= 0) {
igrad_p += pow(x_dptr[j], p_size - i - 1) * ograd_dptr[j];
igrad_p += pow(x_dptr[j], static_cast<DType>(p_size) -
static_cast<DType>(i + 1)) * ograd_dptr[j];
j--;
}
KERNEL_ASSIGN(igrad_p_dptr[i], req, igrad_p);
Expand Down

0 comments on commit 1b4e4b3

Please sign in to comment.