Skip to content

Commit 31aa24f

Browse files
lucafedeli88EZoni
andauthored
Update Source/EmbeddedBoundary/WarpXFaceExtensions.cpp
Co-authored-by: Edoardo Zoni <59625522+EZoni@users.noreply.github.com>
1 parent e5133c4 commit 31aa24f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/EmbeddedBoundary/WarpXFaceExtensions.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace
4848

4949
if constexpr (dim == 0) {
5050
return 0.5_rt * std::max({ly(i, j, k) * dz, ly(i, j, k + 1) * dz,
51-
lz(i, j, k) * dy, lz(i, j + 1, k) * dy});
51+
lz(i, j, k) * dy, lz(i, j + 1, k) * dy});
5252
}
5353
else if constexpr (dim == 1)
5454
{

0 commit comments

Comments
 (0)