emsr / emsr/cxx_math

Make test_little_airy.cpp work

Open
#68 0 comments 0 reactions 0 assignees View on GitHub
bug enhancement testing
Dominant language
C++
Stars
17
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Make work: test_little_airy.cpp
Fix airy.tcc
iry.tcc: In instantiation of \u2018void airy(std::complex<_Tp>, std::complex<_Tp>&, std::complex<_Tp>&, std::complex<_Tp>&, std::complex<_Tp>&, std::complex<_Tp>&, std::complex<_Tp>&, std::complex<_Tp>&, std::complex<_Tp>&) [with _Tp = double]\u2019:
test_little_airy.cpp:31:49: required from here
airy.tcc:82:19: warning: unused variable \u2018_S_slope_F\u2019 [-Wunused-variable]
constexpr _Tp _S_slope_F{-2.660L}, _S_intercept_F{-0.778L};
^~~~~~~~~~
airy.tcc:82:40: warning: unused variable \u2018_S_intercept_F\u2019 [-Wunused-variable]
constexpr _Tp _S_slope_F{-2.660L}, _S_intercept_F{-0.778L};
^~~~~~~~~~~~~~
airy.tcc:127:19: warning: unused variable \u2018_S_slope_Fp\u2019 [-Wunused-variable]
constexpr _Tp _S_slope_Fp{-2.576L}, _S_intercept_Fp{-0.301L};
^~~~~~~~~~~
airy.tcc:127:41: warning: unused variable \u2018_S_intercept_Fp\u2019 [-Wunused-variable]
constexpr _Tp _S_slope_Fp{-2.576L}, _S_intercept_Fp{-0.301L};
^~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccLVCC3D.o: undefined reference to symbol 'gsl_sf_airy_zero_Ai'
//usr/local/lib/libgsl.so.19: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

I took out gslextra source files and just used -lwsql. Works.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.