Commit 86709156 authored by Lukas Riedel's avatar Lukas Riedel

Convert 'if' to 'else if' in getBCindex

parent 2bc58961
......@@ -312,7 +312,7 @@ namespace Dorie{
unsigned int xGlobalIndex;
if (bcSide == BC::North || bcSide == BC::South)
xGlobalIndex = 0;
if (bcSide == BC::West || bcSide == BC::East)
else if (bcSide == BC::West || bcSide == BC::East)
xGlobalIndex = 1;
// run along axis
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment