diff --git a/flopy/mf6/data/mffileaccess.py b/flopy/mf6/data/mffileaccess.py index 4ecbd7bc8..653f54a29 100644 --- a/flopy/mf6/data/mffileaccess.py +++ b/flopy/mf6/data/mffileaccess.py @@ -254,7 +254,14 @@ def _write_layer( ilay=None, ): header_data = self._get_header( - modelgrid, modeltime, stress_period, precision, text, fname, ilay=ilay, data=data, + modelgrid, + modeltime, + stress_period, + precision, + text, + fname, + ilay=ilay, + data=data, ) header_data.tofile(fd) data.tofile(fd) @@ -288,7 +295,7 @@ def _get_header( text=text, m1=m1, m2=m2, - m3-m3, + m3=m3, pertim=pertim, totim=totim, kstp=1,