mirror of
https://github.com/boostorg/math.git
synced 2026-02-24 04:02:18 +00:00
Add using std::isnan to pchip [CI SKIP]
This commit is contained in:
@@ -20,6 +20,7 @@ public:
|
||||
Real left_endpoint_derivative = std::numeric_limits<Real>::quiet_NaN(),
|
||||
Real right_endpoint_derivative = std::numeric_limits<Real>::quiet_NaN())
|
||||
{
|
||||
using std::isnan;
|
||||
if (x.size() < 4)
|
||||
{
|
||||
throw std::domain_error("Must be at least four data points.");
|
||||
@@ -116,4 +117,4 @@ private:
|
||||
};
|
||||
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user