Skip to content

Commit

Permalink
fix #508
Browse files Browse the repository at this point in the history
parse settings as single dict for wellmodel
  • Loading branch information
dbrakenhoff committed Feb 1, 2023
1 parent dc63420 commit a1f4612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastas/stressmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ def __init__(

distances = np.sort(distances)

if settings is None or isinstance(settings, str):
if settings is None or isinstance(settings, str) or isinstance(settings, dict):
settings = len(stress) * [settings]

# convert stresses to TimeSeries if necessary
Expand Down

0 comments on commit a1f4612

Please sign in to comment.