Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seanyen committed May 10, 2020
1 parent de1d4be commit 2fea128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nav2_amcl/src/include/portable_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extern "C" {
// Use rand, and srand for such system.
static double drand48(void)
{
return ((double)rand())/RAND_MAX;
return ((double)rand()) / RAND_MAX;
}

static void srand48(long int seedval)
Expand Down

0 comments on commit 2fea128

Please sign in to comment.