From cf00eb77330227f502273ede9e9f614590c9edf0 Mon Sep 17 00:00:00 2001 From: liang-xiaojian <56351491+liang-xiaojian@users.noreply.github.com> Date: Fri, 27 Oct 2023 18:15:07 +0800 Subject: [PATCH] fix format --- libspu/mpc/cheetah/yacl_ot/yacl_ferret.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libspu/mpc/cheetah/yacl_ot/yacl_ferret.cc b/libspu/mpc/cheetah/yacl_ot/yacl_ferret.cc index 416ec932..4b3545b4 100644 --- a/libspu/mpc/cheetah/yacl_ot/yacl_ferret.cc +++ b/libspu/mpc/cheetah/yacl_ot/yacl_ferret.cc @@ -172,24 +172,24 @@ struct YaclFerretOT::Impl { MITCCRHExp<8> mitccrh_exp_{}; inline void SendRCOT(absl::Span output) { - SPU_ENFORCE( is_sender_ ); + SPU_ENFORCE(is_sender_); ferret_->send_rcot(output); } inline void RecvRCOT(absl::Span choices, absl::Span output) { - SPU_ENFORCE( !is_sender_ ); + SPU_ENFORCE(!is_sender_); ferret_->recv_rcot(output, choices); } inline void SendCOT(uint128_t* output, size_t n) { - SPU_ENFORCE( is_sender_ ); + SPU_ENFORCE(is_sender_); ferret_->send_cot(absl::MakeSpan(output, n)); } inline void RecvCOT(absl::Span choices, absl::Span output) { - SPU_ENFORCE( !is_sender_ ); + SPU_ENFORCE(!is_sender_); ferret_->recv_cot(output, choices); }