We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4952b15 commit bd82999Copy full SHA for bd82999
lib/model/oapbpm.js
@@ -45,7 +45,7 @@ export default class OAPBPM {
45
this._b[j].splice(
46
this._b[j].length - 1,
47
0,
48
- ...Array(this._min + this._b[j].length - y[k] + 1).fill(this._b[j][this._b[j].length - 2])
+ ...Array(y[k] - (this._min + this._b[j].length) + 1).fill(this._b[j][this._b[j].length - 2])
49
)
50
}
51
lib/model/prank.js
@@ -34,7 +34,7 @@ export default class PRank {
34
this._b.splice(
35
this._b.length - 1,
36
37
- ...Array(this._min + this._b.length - y[k] + 1).fill(this._b[this._b.length - 2])
+ ...Array(y[k] - (this._min + this._b.length) + 1).fill(this._b[this._b.length - 2])
38
39
40
0 commit comments