Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

about 7 years ago

Language

C++

Compiler

gcc 8.2.0

Options
Warnings
Boost 1.68.0
C++17
no pedantic

Author

anonymous

about 7 years ago

spline.h

$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.68.0/gcc-8.2.0/include -std=c++17
In file included from prog.cc:4:
spline.h:271:6: warning: 'void {anonymous}::tk::spline::set_boundary({anonymous}::tk::spline::bd_type, double, {anonymous}::tk::spline::bd_type, double, bool)' defined but not used [-Wunused-function]
 void spline::set_boundary(spline::bd_type left, double left_value,
      ^~~~~~
prog.exe: spline.h:294: void {anonymous}::tk::spline::set_points(const std::vector<double>&, const std::vector<double>&, bool): Assertion `m_x[i]<m_x[i+1]' failed.
Signal:
Aborted