labag 1.0.3 → 1.0.4
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/types/LaBaG.js +2 -2
- package/package.json +1 -1
- package/src/types/LaBaG.ts +2 -2
package/dist/types/LaBaG.js
CHANGED
|
@@ -21,8 +21,8 @@ class BaseLaBaG {
|
|
|
21
21
|
].reduce((Ranges, mode) => {
|
|
22
22
|
const res = [];
|
|
23
23
|
let accRate = 0;
|
|
24
|
-
for (const p of
|
|
25
|
-
accRate += p.
|
|
24
|
+
for (const p of P_1.P.Map.values()) {
|
|
25
|
+
accRate += p.rates[mode];
|
|
26
26
|
res.push(accRate);
|
|
27
27
|
}
|
|
28
28
|
Ranges[mode] = res;
|
package/package.json
CHANGED
package/src/types/LaBaG.ts
CHANGED
|
@@ -53,8 +53,8 @@ export class BaseLaBaG implements LaBaG {
|
|
|
53
53
|
].reduce((Ranges: Record<ModeNames, number[]>, mode: string) => {
|
|
54
54
|
const res: number[] = [];
|
|
55
55
|
let accRate: number = 0;
|
|
56
|
-
for (const p of
|
|
57
|
-
accRate += p.
|
|
56
|
+
for (const p of P.Map.values()) {
|
|
57
|
+
accRate += p.rates[mode as ModeNames];
|
|
58
58
|
res.push(accRate);
|
|
59
59
|
}
|
|
60
60
|
Ranges[mode as ModeNames] = res;
|