Skip to content

Commit 176af06

Browse files
authored
fix(mp7-writestoptime) arbitrarily adding 1 to stoptime when writing modpath input file (#1625)
- while writing stoptime with stoptimeoption 3, there is an arbitrary +1 to the specified stoptime value Co-authored-by: Rodrigo Perez <[email protected]>
1 parent 00757a4 commit 176af06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flopy/modpath/mp7sim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ def write_file(self, check=False):
650650
f.write(f"{self.stoptimeoption}\n")
651651
if self.stoptimeoption == 3:
652652
# item 15
653-
f.write(f"{self.stoptime + 1:g}\n")
653+
f.write(f"{self.stoptime:g}\n")
654654

655655
# item 16
656656
if self.simulationtype == 3 or self.simulationtype == 4:

0 commit comments

Comments
 (0)