diff --git a/fbpcf/mpc_std_lib/unified_data_process/data_processor/test/DataProcessorTest.cpp b/fbpcf/mpc_std_lib/unified_data_process/data_processor/test/DataProcessorTest.cpp index f206b137..72e9bad6 100644 --- a/fbpcf/mpc_std_lib/unified_data_process/data_processor/test/DataProcessorTest.cpp +++ b/fbpcf/mpc_std_lib/unified_data_process/data_processor/test/DataProcessorTest.cpp @@ -188,7 +188,7 @@ void testUdpEncryptionAndDecryptionObjects( plaintextDataInShards, size_t dataWidth, size_t outputSize, - const std::vector& indexes, + const std::vector& indexes_2, const std::vector& sizes) { udpEnc->prepareToProcessMyData(dataWidth); size_t myDataIndexOffset = 0; @@ -199,7 +199,7 @@ void testUdpEncryptionAndDecryptionObjects( myDataIndexOffset += plaintextDataInShards.at(i).size(); udpEnc->processMyData(plaintextDataInShards.at(i), u64indexes); }; - udpEnc->prepareToProcessPeerData(dataWidth, indexes); + udpEnc->prepareToProcessPeerData(dataWidth, indexes_2); for (size_t i = 0; i < sizes.size(); i++) { udpEnc->processPeerData(sizes.at(i)); } @@ -244,12 +244,12 @@ void testUdpEncryptionAndDecryptionObjects( auto task1 = [](std::unique_ptr udpEnc, std::unique_ptr> udpDec0, std::unique_ptr> udpDec1, - const std::vector& indexes, + const std::vector& indexes_2, const std::vector& sizes, const std::vector>>& plaintextDataInShards, size_t dataWidth) { - udpEnc->prepareToProcessPeerData(dataWidth, indexes); + udpEnc->prepareToProcessPeerData(dataWidth, indexes_2); for (size_t i = 0; i < sizes.size(); i++) { udpEnc->processPeerData(sizes.at(i)); }