Describe the bug
Calling Double.gaussian(...) causes a StackOverflowError.
To Reproduce
Call Double.gaussian(...)
Expected behavior
Identical behavior to calling gaussian()
Additional context
The issue is that Double.gaussian calls gaussian internally. The intention was to call the general gaussian function but actually gaussian refers to Double.gaussian itself in that context, causing unintended recursion and hence never-ending function calls.
Describe the bug Calling
Double.gaussian(...)
causes a StackOverflowError.To Reproduce Call
Double.gaussian(...)
Expected behavior Identical behavior to calling
gaussian()
Additional context The issue is that
Double.gaussian
callsgaussian
internally. The intention was to call the generalgaussian
function but actuallygaussian
refers toDouble.gaussian
itself in that context, causing unintended recursion and hence never-ending function calls.