Skip to content

Commit 0c42ff4

Browse files
renamed variable
1 parent b064133 commit 0c42ff4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/functions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,9 @@ MatrixXd generate_combinations_and_one_additional_column(const std::vector<std::
564564
int index = row;
565565
for (int col = 0; col < num_vectors; ++col)
566566
{
567-
int vecSize = sizes[col];
568-
result(row, col) = vectors[col][index % vecSize];
569-
index /= vecSize;
567+
int vec_size = sizes[col];
568+
result(row, col) = vectors[col][index % vec_size];
569+
index /= vec_size;
570570
}
571571
// Set the additional unused column to zero (or any other value)
572572
result(row, num_vectors) = 0;

0 commit comments

Comments
 (0)