Skip to content

Commit df30b2f

Browse files
committed
Fix edge color group size.
1 parent 224c501 commit df30b2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Common/src/geometry/CGeometry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3645,7 +3645,7 @@ const CCompressedSparsePatternUL& CGeometry::GetEdgeColoring(su2double* efficien
36453645
auto lowerEdgeColorGroupSize = 1ul; /* lower bound that is known to work */
36463646

36473647
while (true) {
3648-
const auto edgeColoring = colorSparsePattern(pattern, edgeColorGroupSize, balanceColors);
3648+
const auto edgeColoring = colorSparsePattern(pattern, nextEdgeColorGroupSize, balanceColors);
36493649

36503650
/*--- if the coloring fails, reduce the color group size ---*/
36513651
if (edgeColoring.empty()) {

0 commit comments

Comments
 (0)