Skip to content

Commit

Permalink
Update permute.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
anakinxc authored Dec 1, 2023
1 parent a4c8394 commit 2553a4b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions libspu/kernel/hal/permute.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,6 @@ std::vector<spu::Value> BitonicSort(SPUContext *ctx,
for (auto const &input : inputs) {
if (input.isPublic()) {
// we can not linear_scatter a secret value to a public operand
// FIXME: clone() is need here as ref2k p2s is in-place operation, fixed
// later
ret.emplace_back(_p2s(ctx, input).setDtype(input.dtype()).clone());
} else {
ret.emplace_back(input.clone());
Expand Down

0 comments on commit 2553a4b

Please sign in to comment.