We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b064133 commit 0c42ff4Copy full SHA for 0c42ff4
cpp/functions.h
@@ -564,9 +564,9 @@ MatrixXd generate_combinations_and_one_additional_column(const std::vector<std::
564
int index = row;
565
for (int col = 0; col < num_vectors; ++col)
566
{
567
- int vecSize = sizes[col];
568
- result(row, col) = vectors[col][index % vecSize];
569
- index /= vecSize;
+ int vec_size = sizes[col];
+ result(row, col) = vectors[col][index % vec_size];
+ index /= vec_size;
570
}
571
// Set the additional unused column to zero (or any other value)
572
result(row, num_vectors) = 0;
0 commit comments