forked from personal/squiggle.c
formatting pass.
This commit is contained in:
parent
36249ebf39
commit
57adb08057
|
@ -50,7 +50,6 @@ float sample_uniform(float from, float to, uint32_t* seed)
|
||||||
return sample_unit_uniform(seed) * (to - from) + from;
|
return sample_unit_uniform(seed) * (to - from) + from;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
float sample_normal(float mean, float sigma, uint32_t* seed)
|
float sample_normal(float mean, float sigma, uint32_t* seed)
|
||||||
{
|
{
|
||||||
return (mean + sigma * sample_unit_normal(seed));
|
return (mean + sigma * sample_unit_normal(seed));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user