Skip to content
Snippets Groups Projects

ENH: Allow `Splinterpolator` instances to be created from an existing set of spline coefficients, and extend extrapolation options

Merged Paul McCarthy requested to merge enh/splinterpolator into master
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -104,7 +104,7 @@ public:
}
// compare two float vectors
void compare(std::vector<float> a, std::vector<float> b, float tol=1e-6) {
void compare(std::vector<float> a, std::vector<float> b, float tol=1e-5) {
BOOST_CHECK_EQUAL(a.size(), b.size());
for (auto i = 0; i < a.size(); i++) {
BOOST_CHECK_CLOSE(a[i], b[i], tol);
Loading