Skip to content

Commit

Permalink
fix a compile error (#10488)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiayiFeng authored and wangkuiyi committed May 8, 2018
1 parent 22ab14c commit 2bff03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paddle/fluid/platform/profiler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ void SetProfileListener() {
std::mt19937 rng;
rng.seed(std::random_device()());
std::uniform_int_distribution<std::mt19937::result_type> dist6(
1, std::numeric_limits<int64_t>::max());
1, std::numeric_limits<std::mt19937::result_type>::max());
profiler_lister_id = dist6(rng);
}
int64_t ListenerId() { return profiler_lister_id; }
Expand Down

0 comments on commit 2bff03b

Please sign in to comment.