Skip to content

Commit

Permalink
mac compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ladnir committed Feb 26, 2025
1 parent 3225f82 commit f8939a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libOTe_Tests/RegularDpf_Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,13 @@ void RegularDpf_Puncture_Test(const oc::CLP& cmd)
output[1].resize(numPoints, domain);
tags[0].resize(numPoints, domain);
tags[1].resize(numPoints, domain);
auto seed0 = prng.get();
auto seed1 = prng.get();

auto sock = coproto::LocalAsyncSocket::makePair();
macoro::sync_wait(macoro::when_all_ready(
dpf[0].expand(points0, {}, prng.get(), [&](auto k, auto i, auto v, block t) { output[0](k, i) = v; tags[0](k, i) = t.get<u8>(0) & 1; }, sock[0]),
dpf[1].expand(points1, {}, prng.get(), [&](auto k, auto i, auto v, block t) { output[1](k, i) = v; tags[1](k, i) = t.get<u8>(0) & 1; }, sock[1])
dpf[0].expand(points0, {}, seed0, [&](auto k, auto i, auto v, block t) { output[0](k, i) = v; tags[0](k, i) = t.get<u8>(0) & 1; }, sock[0]),
dpf[1].expand(points1, {}, seed1, [&](auto k, auto i, auto v, block t) { output[1](k, i) = v; tags[1](k, i) = t.get<u8>(0) & 1; }, sock[1])
));


Expand Down

0 comments on commit f8939a9

Please sign in to comment.