diff options
author | 2020-07-26 12:56:13 +1000 | |
---|---|---|
committer | 2020-07-26 12:56:13 +1000 | |
commit | 60bd3086cc826664a46fc7e703a11e6518482e01 (patch) | |
tree | 8c4904cb6ddd01ffae996ab845a3ec446b74518b /src/lib/netlist/plib/pmath.h | |
parent | fab7f87398ef533d59fd991718808180cd67019a (diff) |
srcclean for 0.223
Diffstat (limited to 'src/lib/netlist/plib/pmath.h')
-rw-r--r-- | src/lib/netlist/plib/pmath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/pmath.h b/src/lib/netlist/plib/pmath.h index a86e3d354f1..02d634529a0 100644 --- a/src/lib/netlist/plib/pmath.h +++ b/src/lib/netlist/plib/pmath.h @@ -442,8 +442,8 @@ namespace plib template<class T> constexpr const T& clamp( const T& v, const T& low, const T& high) { - gsl_Expects(high >= low); - return (v < low) ? low : (high < v) ? high : v; + gsl_Expects(high >= low); + return (v < low) ? low : (high < v) ? high : v; } static_assert(noexcept(constants<double>::one()), "Not evaluated as constexpr"); |