We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following minimal example does not compile:
double func(double x) { return 1. / std::pow(x, 2); } int main(){ auto def = cubic_splines::CubicSplines<float>::Definition(); def.f = func; def.axis = std::make_unique<cubic_splines::ExpAxis<float>>(1e2, 1e14, (size_t)100); def.f_trafo = std::make_unique<cubic_splines::ExpAxis<float>>(1., 0.); auto inter = cubic_splines::Interpolant<cubic_splines::CubicSplines<float>>( std::move(def), "", ""); std::cout << func(1e5) << ", " << inter.evaluate(1e5) << std::endl; }
I get the error
[...]/CubicInterpolation/Interpolant.hpp:17:30: error: no member named 'size' in 'cubic_splines::Axis<float>'
I believe that this has to do with the typedef typedef Axis<double> Axis in line 9 of Interpolant.hpp.
typedef Axis<double> Axis
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following minimal example does not compile:
I get the error
[...]/CubicInterpolation/Interpolant.hpp:17:30: error: no member named 'size' in 'cubic_splines::Axis<float>'
I believe that this has to do with the typedef
typedef Axis<double> Axis
in line 9 of Interpolant.hpp.The text was updated successfully, but these errors were encountered: