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

Commit

Permalink
* Fix Tuple downcast Error (Only Integer)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanke580 committed Aug 8, 2020
1 parent ecb4dac commit f14bef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/operator/numpy/random/np_multinomial_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ MXNET_REGISTER_API("_npi.multinomial")
inputs[0] = args[1].operator mxnet::NDArray*();
num_inputs = 1;
} else {
param.pvals = Tuple<double>(args[1].operator ObjectRef());
param.pvals = Obj2Tuple<double, Float>(args[1].operator ObjectRef());
}

// parse size
Expand Down

0 comments on commit f14bef8

Please sign in to comment.