@rian8337/osu-base 3.0.0-beta.17 → 3.0.0-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -691,10 +691,7 @@ class SliderRepeat extends HitObject {
691
691
  */
692
692
  spanDuration;
693
693
  constructor(values) {
694
- super({
695
- startTime: values.startTime,
696
- position: values.position,
697
- });
694
+ super(values);
698
695
  this.repeatIndex = values.repeatIndex;
699
696
  this.spanDuration = values.spanDuration;
700
697
  }
@@ -716,10 +713,7 @@ class SliderTick extends HitObject {
716
713
  */
717
714
  spanStartTime;
718
715
  constructor(values) {
719
- super({
720
- startTime: values.startTime,
721
- position: values.position,
722
- });
716
+ super(values);
723
717
  this.spanIndex = values.spanIndex;
724
718
  this.spanStartTime = values.spanStartTime;
725
719
  }
@@ -7096,9 +7090,9 @@ class ErrorFunction {
7096
7090
  case z < 1.25:
7097
7091
  // Worst case absolute error found: 4.01854729e-21
7098
7092
  r =
7099
- Polynomial.evaluate(z - 1.25, this.erfImpDn) /
7100
- Polynomial.evaluate(z - 1.25, this.erfImpDd);
7101
- b = 0.4898625016;
7093
+ Polynomial.evaluate(z - 0.75, this.erfImpCn) /
7094
+ Polynomial.evaluate(z - 0.75, this.erfImpCd);
7095
+ b = 0.419990927;
7102
7096
  break;
7103
7097
  case z < 2.25:
7104
7098
  // Worst case absolute error found: 2.866005373e-21