Commit 2ce59268 authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

make below/above events complementary

Showing with 3 additions and 3 deletions
+3 -3
...@@ -11,7 +11,7 @@ namespace evalhyd ...@@ -11,7 +11,7 @@ namespace evalhyd
{ {
namespace utils namespace utils
{ {
/// Determine whether flows are strictly greater than given threshold(s) /// Determine whether flows are greater than given threshold(s)
/// ///
/// Streamflow data is always expected as a 2D array (even if only for /// Streamflow data is always expected as a 2D array (even if only for
/// one time series). Threshold(s) given is (are) always expected as a /// one time series). Threshold(s) given is (are) always expected as a
...@@ -19,7 +19,7 @@ namespace evalhyd ...@@ -19,7 +19,7 @@ namespace evalhyd
/// returned whose first two dimensions are of the same sizes as the /// returned whose first two dimensions are of the same sizes as the
/// streamflow data and whose third dimension is of size equal to the /// streamflow data and whose third dimension is of size equal to the
/// number of thresholds given. The returned array contains ones where /// number of thresholds given. The returned array contains ones where
/// the threshold is strictly exceeded, and zeros otherwise. /// the threshold is exceeded, and zeros otherwise.
/// ///
/// \param [in] q: /// \param [in] q:
/// 2D array of streamflow data /// 2D array of streamflow data
...@@ -72,7 +72,7 @@ namespace evalhyd ...@@ -72,7 +72,7 @@ namespace evalhyd
); );
// return a boolean-like array // return a boolean-like array
return q2 <= thr; return q2 < thr;
} }
} }
} }
......
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