r/gen: style

This commit is contained in:
Danny Robson 2020-12-09 07:49:03 +10:00
parent a2fa34c619
commit 8228a9be0f

View File

@ -6,6 +6,7 @@
#include <random>
///////////////////////////////////////////////////////////////////////////////
/// Probability density function for a normal distribution with specified
/// mean and stddev at point `x`.
static
@ -17,6 +18,7 @@ float pdf (float x, float mean, float stddev)
}
///----------------------------------------------------------------------------
/// Calculate the maximum difference between a histogram and a PDF for a
/// normal distribution with a number of buckets.
static
@ -57,6 +59,7 @@ float max_histogram_error (int buckets)
}
///////////////////////////////////////////////////////////////////////////////
int main (void)
{
cruft::TAP::logger tap;