diff --git a/src/common/powers_array.cairo b/src/common/powers_array.cairo index ef46fdb90..afc19a3f0 100644 --- a/src/common/powers_array.cairo +++ b/src/common/powers_array.cairo @@ -1,8 +1,8 @@ // Writes the following `n` values into array: -// cur, cur * alpha, cur * alpha^2, ..., cur * alpha^(n - 1). -fn powers_array(cur: felt252, alpha: felt252, n: u32) -> Array { +// initial, initial * alpha, initial * alpha^2, ..., initial * alpha^(n - 1). +fn powers_array(initial: felt252, alpha: felt252, n: u32) -> Array { let mut array = ArrayTrait::::new(); - let mut value = cur; + let mut value = initial; let mut i: u32 = 0; loop { if i == n {