def get_uniform_moments(min_val, max_val):
    """Get mean, var of a uniform distribution."""
    mean = (max_val + min_val) / 2
    var = (1 / 12) * (max_val - min_val) * (max_val - min_val)

    return mean, var