From 365c6c9e6d12404f7d8cde328daaada0f42d555e Mon Sep 17 00:00:00 2001 From: Weiqi97 Date: Thu, 20 Feb 2025 16:28:08 -0500 Subject: [PATCH] update docstrings --- src/ipe_filter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ipe_filter.cpp b/src/ipe_filter.cpp index 577de8f..9bbdd14 100644 --- a/src/ipe_filter.cpp +++ b/src/ipe_filter.cpp @@ -34,7 +34,7 @@ G1Vec IpeFilter::enc(const IpeFilterPP& pp, const IpeFilterMsk& msk, const Vec& // Create the x vector in Fp. FpVec x_vec; - // Compute the hash of value to join and remove the join value from x copy. + // Convert the input x vector to Fp. std::visit([&pp, &x_vec](auto&& input_x){ using T = std::decay_t; if constexpr (std::is_same_v || std::is_same_v){ @@ -66,10 +66,10 @@ G1Vec IpeFilter::enc(const IpeFilterPP& pp, const IpeFilterMsk& msk, const Vec& } G2Vec IpeFilter::keygen(const IpeFilterPP& pp, const IpeFilterMsk& msk, const Mat& y){ - // Create the x vector in Fp. + // Create the y matrix in Fp. FpMat y_mat; - // Compute the hash of value to join and remove the join value from x copy. + // Convert the input y matrix to Fp. std::visit([&pp, &y_mat](auto&& input_y){ using T = std::decay_t; if constexpr (std::is_same_v || std::is_same_v){