Skip to content

Commit

Permalink
Update metrics.py
Browse files Browse the repository at this point in the history
Because the metrics can also be used directly without Pastas as well :-)
  • Loading branch information
raoulcollenteur committed Jun 21, 2023
1 parent 1a09fb4 commit 16c4dd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pastas/stats/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def rsq(
if len(w) != obs.index.size:
raise ValueError(
"Weights and observations time series have different lengths! "
"Check oseries and stresses settings."
"Check observation and simulation time series."
)
mu = average(obs.to_numpy(), weights=w)
rss = (w * err.to_numpy() ** 2.0).sum()
Expand Down

0 comments on commit 16c4dd3

Please sign in to comment.