Skip to content

Commit

Permalink
Update function to match comment: use Rh by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
awickert committed Jan 8, 2024
1 parent b12f30c commit e0a44ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ottar/ottar.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ class FlowDepthDoubleManning( object ):
Use Manning's equation to obtain flow depth from river discharge,
using a conversion from ManningFit.py outputs
"""
def __init__(self, use_Rh):
def __init__(self, use_Rh=True):
# Default to using hyraulic radius and not just depth
self.use_Rh = use_Rh

Expand Down

0 comments on commit e0a44ac

Please sign in to comment.