Skip to content

Commit

Permalink
fix(#867): fixed minimum record entry count for lists to never includ…
Browse files Browse the repository at this point in the history
…e keywords in the count (#875)
  • Loading branch information
spaulins-usgs committed May 11, 2020
1 parent 88fbd4c commit 265fc7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flopy/mf6/data/mfstructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -1451,8 +1451,7 @@ def get_min_record_entries(self):
if data_item_structure.type == DatumType.record:
count += data_item_structure.get_record_size()[0]
else:
if data_item_structure.type != DatumType.keyword or \
count > 0:
if data_item_structure.type != DatumType.keyword:
count += 1
return count

Expand Down

0 comments on commit 265fc7c

Please sign in to comment.