Skip to content

Commit 8af37ff

Browse files
committed
Rebase error fixed
1 parent 1f86593 commit 8af37ff

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

discojs/src/aggregator/mean.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ export class MeanAggregator extends MultiRoundAggregator {
1616
*/
1717
constructor(roundCutoff = 0, threshold = 1, thresholdType?: ThresholdType) {
1818
super(roundCutoff, threshold, thresholdType);
19-
super(roundCutoff, threshold, thresholdType);
2019
}
2120

2221
override _add(nodeId: client.NodeID, contribution: WeightsContainer): void {
@@ -30,7 +29,6 @@ export class MeanAggregator extends MultiRoundAggregator {
3029
override aggregate(): WeightsContainer {
3130
const currentContributions = this.contributions.get(0);
3231
if (!currentContributions) throw new Error("aggregating without any contribution");
33-
if (!currentContributions) throw new Error("aggregating without any contribution");
3432

3533
this.log(AggregationStep.AGGREGATE);
3634

0 commit comments

Comments
 (0)