summaryrefslogtreecommitdiffstats
path: root/src/lib/netlist/plib/pmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/plib/pmath.h')
-rw-r--r--src/lib/netlist/plib/pmath.h4
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");