Skip to content

Commit

Permalink
fix: add missing change from #430
Browse files Browse the repository at this point in the history
  • Loading branch information
Insun35 authored and chokobole committed Jun 15, 2024
1 parent 11b9b19 commit 74186ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tachyon/crypto/commitments/kzg/shplonk.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ class SHPlonk final : public UnivariatePolynomialCommitmentScheme<
return poly;
}

return Poly(
Coefficients({-low_degree_extensions[i].Evaluate(u)}));
return Poly(Coefficients(
{-low_degree_extensions[i].Evaluate(u)}, true));
});

// clang-format off
Expand Down
2 changes: 1 addition & 1 deletion tachyon/zk/plonk/examples/circuit_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class CircuitTest : public halo2::ProverTest<typename TestArguments::PCS,
std::vector<F> coefficients = base::Map(
poly, [](std::string_view coeff) { return *F::FromHexString(coeff); });
return Poly(math::UnivariateDenseCoefficients<F, halo2::kMaxDegree>(
std::move(coefficients)));
std::move(coefficients), true));
}

static std::vector<Poly> CreatePolys(
Expand Down

0 comments on commit 74186ea

Please sign in to comment.