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 89a2684 commit 71f85b4Copy full SHA for 71f85b4
src/diffusion_thomas_algorithm.cc
@@ -237,7 +237,9 @@ void DiffusionThomasAlgorithm::SolveDirectionThomas(unsigned int direction) {
237
238
const unsigned int jump = [this, direction]() -> unsigned int {
239
if (direction == 0)
240
+ if (direction == 0) {
241
return static_cast<unsigned int>(jump_i_);
242
+}
243
if (direction == 1)
244
return static_cast<unsigned int>(jump_j_);
245
return static_cast<unsigned int>(jump_k_);
0 commit comments