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
It looks like the program crashes if I use different nodes for different dimensions.
For example, this code works:
auto def = cubic_splines::BicubicSplines<double>::Definition(); def.f = func; def.axis[0] = std::make_unique<cubic_splines::ExpAxis<double>>(1., 1e7, (size_t)10); def.axis[1] = std::make_unique<cubic_splines::LinAxis<double>>(0., 1, (size_t)10);
while this one crashes auto def = cubic_splines::BicubicSplines<double>::Definition(); def.f = func; def.axis[0] = std::make_unique<cubic_splines::ExpAxis<double>>(1., 1e7, (size_t)10); def.axis[1] = std::make_unique<cubic_splines::LinAxis<double>>(0., 1, (size_t)20);
auto def = cubic_splines::BicubicSplines<double>::Definition(); def.f = func; def.axis[0] = std::make_unique<cubic_splines::ExpAxis<double>>(1., 1e7, (size_t)10); def.axis[1] = std::make_unique<cubic_splines::LinAxis<double>>(0., 1, (size_t)20);
with the error message
Assertion failed: (row >= 0 && row < rows() && col >= 0 && col < cols()), function operator(), file /usr/local/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h, line 367.
I've been building CubicInterpolation in DEBUG mode.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It looks like the program crashes if I use different nodes for different dimensions.
For example, this code works:
auto def = cubic_splines::BicubicSplines<double>::Definition(); def.f = func; def.axis[0] = std::make_unique<cubic_splines::ExpAxis<double>>(1., 1e7, (size_t)10); def.axis[1] = std::make_unique<cubic_splines::LinAxis<double>>(0., 1, (size_t)10);
while this one crashes
auto def = cubic_splines::BicubicSplines<double>::Definition(); def.f = func; def.axis[0] = std::make_unique<cubic_splines::ExpAxis<double>>(1., 1e7, (size_t)10); def.axis[1] = std::make_unique<cubic_splines::LinAxis<double>>(0., 1, (size_t)20);
with the error message
Assertion failed: (row >= 0 && row < rows() && col >= 0 && col < cols()), function operator(), file /usr/local/include/eigen3/Eigen/src/Core/DenseCoeffsBase.h, line 367.
I've been building CubicInterpolation in DEBUG mode.
The text was updated successfully, but these errors were encountered: