Skip to content

Commit 7eeeb94

Browse files
committed
MERGE: get_nz can return with and without GCs
1 parent 25be8e0 commit 7eeeb94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ions_bcs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ bool Ions::set_bcs(Grid grid,
3030

3131
bool didWork = true;
3232

33-
if (input.get_nAltsGeo() > 1) {
33+
if (grid.get_nZ(false) > 1) {
3434
didWork = set_lower_bcs(grid, time, indices);
3535

3636
if (didWork)

0 commit comments

Comments
 (0)