Skip to content

Commit

Permalink
Merge pull request #5174 from FederatedAI/dev-2.0.0-beta-fix-zeros-bug
Browse files Browse the repository at this point in the history
fix zeros bug
  • Loading branch information
mgqa34 authored Sep 12, 2023
2 parents 1944490 + 65c80ed commit 030a4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/fate/arch/histogram/values/_cipher.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def compute_child(
positions: List[Tuple[int, int, int, int, int, int, int, int]],
size: int,
):
data = self.evaluator.zeros(size * self.stride)
data = self.evaluator.zeros(size * self.stride, self.dtype)
for (
target_weak_child_start,
target_weak_child_end,
Expand Down

0 comments on commit 030a4d2

Please sign in to comment.