Skip to content

Commit

Permalink
Update recharge.py
Browse files Browse the repository at this point in the history
capital error
  • Loading branch information
martinvonk committed Dec 27, 2022
1 parent f488c96 commit 8575661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastas/recharge.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def simulate(self, prec: pstAL, evap: pstAL, p: pstAL, **kwargs) -> pstAL:
"""
return add(prec, multiply(evap, p))

def get_water_balance(self, prec: pstAL, evap: pstAL, p: pstAL, **kwargs) -> type[DataFrame]:
def get_water_balance(self, prec: pstAL, evap: pstAL, p: pstAL, **kwargs) -> Type[DataFrame]:
ea = multiply(evap, p)
r = add(prec, multiply(evap, p))
return DataFrame(data=vstack((prec, ea, -r)).T,
Expand Down

0 comments on commit 8575661

Please sign in to comment.