Skip to content
Snippets Groups Projects
Commit 167e2a67 authored by Dogan Can's avatar Dogan Can
Browse files

trunk: Fix a small bug in RandGauss2 with double arguments.

git-svn-id: https://svn.code.sf.net/p/kaldi/code/trunk@4672 5e6a8d80-dfce-4ca6-a32a-6e07a63d50c8
parent a8f7eb3c
No related branches found
No related tags found
No related merge requests found
......@@ -147,7 +147,7 @@ void RandGauss2(double *a, double *b, RandomState *state)
float a_float, b_float;
// Just because we're using doubles doesn't mean we need super-high-quality
// random numbers, so we just use the floating-point version internally.
RandGauss2(&a_float, &b_float);
RandGauss2(&a_float, &b_float, state);
*a = a_float; *b = b_float;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment