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

Commit

Permalink
fix template arg issue windows fix int32 default
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiBapchya committed Oct 15, 2018
1 parent 2e24870 commit 12f92a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mxnet/random_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class RandGenerator<cpu, DType> {
MSHADOW_XINLINE DType discrete_uniform(const int lower, const int upper) {
typedef typename std::conditional<std::is_integral<DType>::value,
std::uniform_int_distribution<DType>,
std::uniform_real_distribution<FType>>::type GType;
std::uniform_int_distribution<kInt32>>::type GType;
GType dist_discrete_uniform(lower, upper);
return dist_discrete_uniform(*engine_);
}
Expand Down

0 comments on commit 12f92a3

Please sign in to comment.