//double min = p.getMin();
double max = ((UniformPar) p).getMax();
double min = ((UniformPar) p).getMin();
return Math.pow((max - min), 2) / 12;
} else {
throw new IncorrectDistributionParameterException(
"Remember: the *max* parameter must be > of the *min* one because min and max reppresent the boud of the distribution");
}
}