Commit d1b87524 authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

add trivial getter method for q_lvl to be consistent with other ones

parent 17baf6f9
1 merge request!9Resolve "evaluation of quantiles prediction"
Showing with 7 additions and 2 deletions
+7 -2
......@@ -158,6 +158,11 @@ namespace evalhyd
}
}
auto get_q_lvl()
{
return _q_lvl;
}
bool is_high_flow_event()
{
if (_events.has_value())
......@@ -337,7 +342,7 @@ namespace evalhyd
if (!itv_bnds.has_value())
{
itv_bnds = elements::calc_itv_bnds(
q_prd, get_c_lvl(), _q_lvl,
q_prd, get_c_lvl(), get_q_lvl(),
n_sit, n_ldt, n_itv, n_tim
);
}
......@@ -394,7 +399,7 @@ namespace evalhyd
if (!qs.has_value())
{
qs = intermediate::calc_qs(
q_obs, get_q_qnt(), n_mbr, _q_lvl
q_obs, get_q_qnt(), n_mbr, get_q_lvl()
);
}
return qs.value();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment