The compiler warning was being generated because of the use of GammaDistribution in kernel::srd_draw_vectors. This PR rearranges that function to remove the use of recursion.
Motivation and context
Code should compile without warnings.
Resolves #1844
How has this been tested?
Existing unit tests pass, and the compiler warning is gone.
Description
The compiler warning was being generated because of the use of
GammaDistribution
inkernel::srd_draw_vectors
. This PR rearranges that function to remove the use of recursion.Motivation and context
Code should compile without warnings.
Resolves #1844
How has this been tested?
Existing unit tests pass, and the compiler warning is gone.
Change log
Checklist:
sphinx-doc/credits.rst
) in the pull request source branch.