Commit a7259170 authored by Simon Eismann's avatar Simon Eismann

fix

parent 2f608aef
......@@ -114,7 +114,7 @@ public class MARS implements AbstractDistribution {
}
public double calculate(int tokenNumber) {
if (tokenNumber <= knot)
if (tokenNumber < knot)
return 0.0;
return coefficient * (tokenNumber - knot);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment