Skip to content

Commit

Permalink
Merge 7222b1d into f247d2c
Browse files Browse the repository at this point in the history
  • Loading branch information
OMalenfantThuot authored Nov 27, 2019
2 parents f247d2c + 7222b1d commit 2755adb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlcalcdriver/base/posinp.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def from_dict(cls, posinp):
if cell is None:
boundary_conditions = "free"
else:
if cell[1] in [".inf", "inf"]:
if str(cell[1]) in [".inf", "inf"] or cell[1] == 0.0:
boundary_conditions = "surface"
else:
boundary_conditions = "periodic"
Expand Down

0 comments on commit 2755adb

Please sign in to comment.