Skip to content

Commit 71f85b4

Browse files
Update src/diffusion_thomas_algorithm.cc
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 89a2684 commit 71f85b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/diffusion_thomas_algorithm.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ void DiffusionThomasAlgorithm::SolveDirectionThomas(unsigned int direction) {
237237

238238
const unsigned int jump = [this, direction]() -> unsigned int {
239239
if (direction == 0)
240+
if (direction == 0) {
240241
return static_cast<unsigned int>(jump_i_);
242+
}
241243
if (direction == 1)
242244
return static_cast<unsigned int>(jump_j_);
243245
return static_cast<unsigned int>(jump_k_);

0 commit comments

Comments
 (0)