Skip to content

Commit e8a71b5

Browse files
committed
nit: use set_element for a single element
1 parent 1f8cd01 commit e8a71b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/test_validation_criteria.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ mod instance_validation {
1919

2020
// Set only one element, leaving var_g unassigned
2121
let x_val = G::generator() * Scalar::from(42u64);
22-
relation.set_elements([(var_x_g, x_val)]);
22+
relation.set_element(var_x_g, x_val);
2323

2424
// Add equation: X = x * G (but G is not set)
2525
relation.append_equation(var_x_g, var_x * var_g);

0 commit comments

Comments
 (0)