I am getting an Index was out of range error when I try and call Percentile.Compute.
Here is my code :
```
IEnumerable<double> values =new[]{1.1, 2.2, 3.3, 4.4};
Percentile p = new Percentile(values);
p.Method=PercentileMethod.Interpolation;
return (decimal) p.Compute(0.1);
```
Any clues as to what the error could be?
full error info :
```
Index was out of range. Must be non-negative and less than the size of the collection.
```
Comments: Can you wait a couple days for v2.5? The backend for the Percentile class has been replaced completely, plus it's now much easier to use, e.g. `(new[] {1.1, 2.2}).Quantile(0.1)`. Thanks, Christoph
Here is my code :
```
IEnumerable<double> values =new[]{1.1, 2.2, 3.3, 4.4};
Percentile p = new Percentile(values);
p.Method=PercentileMethod.Interpolation;
return (decimal) p.Compute(0.1);
```
Any clues as to what the error could be?
full error info :
```
Index was out of range. Must be non-negative and less than the size of the collection.
```
Comments: Can you wait a couple days for v2.5? The backend for the Percentile class has been replaced completely, plus it's now much easier to use, e.g. `(new[] {1.1, 2.2}).Quantile(0.1)`. Thanks, Christoph