Skip to content

Commit 88226ee

Browse files
committed
chore: fix bad merge
1 parent e4f9a65 commit 88226ee

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

barretenberg/cpp/src/barretenberg/dsl/acir_format/multi_scalar_mul.test.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,15 @@ template <typename Builder_, InputConstancy Constancy> class MultiScalarMulTesti
6565
constexpr bool scalars_are_constant =
6666
(Constancy == InputConstancy::Scalars || Constancy == InputConstancy::Both);
6767

68-
// Helper to add points: either as witnesses or constants based on Constancy
68+
// Helper to add points: either as witnesses or constants based on Constancy.
69+
// Points are encoded as (x, y); the point at infinity is encoded as (0, 0).
6970
auto construct_points = [&]() -> std::vector<WitnessOrConstant<FF>> {
7071
if constexpr (points_are_constant) {
7172
return { WitnessOrConstant<FF>::from_constant(point.x), WitnessOrConstant<FF>::from_constant(point.y) };
7273
}
73-
// Points are witnesses
7474
std::vector<uint32_t> point_indices = add_to_witness_and_track_indices(witness_values, point);
7575
return { WitnessOrConstant<FF>::from_index(point_indices[0]),
76-
WitnessOrConstant<FF>::from_index(point_indices[1]),
77-
WitnessOrConstant<FF>::from_index(point_indices[2]) };
76+
WitnessOrConstant<FF>::from_index(point_indices[1]) };
7877
};
7978

8079
// Helper to add scalars: either as witnesses or constants based on Constancy

0 commit comments

Comments
 (0)