Compile [2024-11-14 22:36:49 UTC]: fail
"g++-6" -fvisibility-inlines-hidden -std=gnu++11 -fPIC -m64 -pthread -O0 -fno-inline -Wall -fvisibility=hidden -Wno-missing-braces -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -DBOOST_CONTAINER_DYN_LINK=1 -DBOOST_CONTAINER_NO_LIB=1 -DBOOST_RANDOM_DYN_LINK=1 -DBOOST_RANDOM_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_LIB=1 -I".." -I"../libs/math/include_private" -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/container/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/integer/include" -I"/var/boost/run/boost_root/libs/intrusive/include" -I"/var/boost/run/boost_root/libs/lexical_cast/include" -I"/var/boost/run/boost_root/libs/math/include" -I"/var/boost/run/boost_root/libs/move/include" -I"/var/boost/run/boost_root/libs/mp11/include" -I"/var/boost/run/boost_root/libs/predef/include" -I"/var/boost/run/boost_root/libs/random/include" -I"/var/boost/run/boost_root/libs/system/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -I"/var/boost/run/boost_root/libs/variant2/include" -I"/var/boost/run/boost_root/libs/winapi/include" -c -o "/var/boost/run/results/boost/bin.v2/libs/math/example/autodiff_black_scholes.test/gcc-6~gnu11/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/autodiff_black_scholes.o" "../libs/math/example/autodiff_black_scholes.cpp"
In file included from ../boost/math/cstdfloat/cstdfloat_types.hpp:17:0,
from ../boost/cstdfloat.hpp:18,
from ../boost/math/differentiation/autodiff.hpp:9,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/tools/config.hpp:28:6: warning: #warning "Boost.Math requires C++14" [-Wcpp]
# warning "Boost.Math requires C++14"
^~~~~~~
In file included from ../boost/math/tools/mp.hpp:15:0,
from ../boost/math/policies/policy.hpp:11,
from ../boost/math/constants/constants.hpp:16,
from ../boost/math/cstdfloat/cstdfloat_complex_std.hpp:21,
from ../boost/math/cstdfloat/cstdfloat_complex.hpp:33,
from ../boost/cstdfloat.hpp:49,
from ../boost/math/differentiation/autodiff.hpp:9,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/tools/type_traits.hpp:208:12: error: 'std::is_final' has not been declared
using std::is_final;
^~~~~~~~
../boost/math/tools/type_traits.hpp:259:12: error: 'std::remove_cv_t' has not been declared
using std::remove_cv_t;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:261:12: error: 'std::remove_const_t' has not been declared
using std::remove_const_t;
^~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:263:12: error: 'std::remove_volatile_t' has not been declared
using std::remove_volatile_t;
^~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:265:12: error: 'std::add_cv_t' has not been declared
using std::add_cv_t;
^~~~~~~~
../boost/math/tools/type_traits.hpp:267:12: error: 'std::add_const_t' has not been declared
using std::add_const_t;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:269:12: error: 'std::add_volatile_t' has not been declared
using std::add_volatile_t;
^~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:273:12: error: 'std::remove_reference_t' has not been declared
using std::remove_reference_t;
^~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:275:12: error: 'std::add_lvalue_reference_t' has not been declared
using std::add_lvalue_reference_t;
^~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:277:12: error: 'std::add_rvalue_reference_t' has not been declared
using std::add_rvalue_reference_t;
^~~~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:281:12: error: 'std::remove_pointer_t' has not been declared
using std::remove_pointer_t;
^~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:283:12: error: 'std::add_pointer_t' has not been declared
using std::add_pointer_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:287:12: error: 'std::make_signed_t' has not been declared
using std::make_signed_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:289:12: error: 'std::make_unsigned_t' has not been declared
using std::make_unsigned_t;
^~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:293:12: error: 'std::remove_extent_t' has not been declared
using std::remove_extent_t;
^~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:295:12: error: 'std::remove_all_extents_t' has not been declared
using std::remove_all_extents_t;
^~~~~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:299:12: error: 'std::decay_t' has not been declared
using std::decay_t;
^~~~~~~
../boost/math/tools/type_traits.hpp:301:12: error: 'std::enable_if_t' has not been declared
using std::enable_if_t;
^~~~~~~~~~~
../boost/math/tools/type_traits.hpp:303:12: error: 'std::conditional_t' has not been declared
using std::conditional_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:305:12: error: 'std::common_type_t' has not been declared
using std::common_type_t;
^~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:307:12: error: 'std::underlying_type_t' has not been declared
using std::underlying_type_t;
^~~~~~~~~~~~~~~~~
../boost/math/tools/type_traits.hpp:402:47: error: 'is_final' is not a member of 'boost::math'
BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final<T>::value;
^~~~~
../boost/math/tools/type_traits.hpp:402:70: error: expected primary-expression before '>' token
BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final<T>::value;
^
../boost/math/tools/type_traits.hpp:402:71: error: '::value' has not been declared
BOOST_MATH_INLINE_CONSTEXPR bool is_final_v = boost::math::is_final<T>::value;
^~
In file included from ../boost/math/special_functions/math_fwd.hpp:28:0,
from ../boost/math/special_functions/trunc.hpp:21,
from ../boost/math/differentiation/autodiff.hpp:11,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/tools/promotion.hpp:90:36: error: 'common_type_t' in namespace 'boost::math' does not name a template type
using type = boost::math::common_type_t<T1, T2, float>;
^~~~~~~~~~~~~
In file included from ../boost/math/differentiation/autodiff.hpp:11:0,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/special_functions/trunc.hpp:324:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<boost::math::is_constructible_v<int, T>, int>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:331:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<!boost::math::is_constructible_v<int, T>, int>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:339:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<boost::math::is_constructible_v<long, T>, long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:346:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<!boost::math::is_constructible_v<long, T>, long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:354:44: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline boost::math::enable_if_t<boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:361:53: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:361:64: error: expected unqualified-id before '<' token
BOOST_MATH_GPU_ENABLED inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^
../boost/math/special_functions/trunc.hpp:369:76: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline boost::math::enable_if_t<boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:376:85: error: 'enable_if_t' in namespace 'boost::math' does not name a template type
BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^~~~~~~~~~~
../boost/math/special_functions/trunc.hpp:376:96: error: expected unqualified-id before '<' token
BOOST_MATH_GPU_ENABLED [[deprecated("Use llconvert")]] inline typename boost::math::enable_if_t<!boost::math::is_constructible_v<long long, T>, long long>
^
In file included from ../boost/math/special_functions/detail/polygamma.hpp:24:0,
from ../boost/math/special_functions/polygamma.hpp:15,
from ../boost/math/differentiation/autodiff.hpp:17,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/special_functions/pow.hpp:126:79: error: redeclaration 'constexpr typename boost::math::tools::promote_args<T2>::type boost::math::pow(T, const Policy&)' differs in 'constexpr'
BOOST_MATH_GPU_ENABLED constexpr inline typename tools::promote_args<T>::type pow(T base, const Policy& policy)
^~~
In file included from ../boost/math/special_functions/trunc.hpp:21:0,
from ../boost/math/differentiation/autodiff.hpp:11,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/special_functions/math_fwd.hpp:1173:79: error: from previous declaration 'boost::math::tools::promote_args_t<T> boost::math::pow(T, const Policy&)'
BOOST_MATH_GPU_ENABLED BOOST_MATH_CXX14_CONSTEXPR tools::promote_args_t<T> pow(T base, const Policy& policy);
^~~
In file included from ../boost/math/special_functions/detail/polygamma.hpp:24:0,
from ../boost/math/special_functions/polygamma.hpp:15,
from ../boost/math/differentiation/autodiff.hpp:17,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/special_functions/pow.hpp:133:79: error: redeclaration 'constexpr typename boost::math::tools::promote_args<T2>::type boost::math::pow(T)' differs in 'constexpr'
BOOST_MATH_GPU_ENABLED constexpr inline typename tools::promote_args<T>::type pow(T base)
^~~
In file included from ../boost/math/special_functions/trunc.hpp:21:0,
from ../boost/math/differentiation/autodiff.hpp:11,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/special_functions/math_fwd.hpp:1176:79: error: from previous declaration 'boost::math::tools::promote_args_t<T> boost::math::pow(T)'
BOOST_MATH_GPU_ENABLED BOOST_MATH_CXX14_CONSTEXPR tools::promote_args_t<T> pow(T base);
^~~
In file included from ../boost/math/special_functions/math_fwd.hpp:28:0,
from ../boost/math/special_functions/trunc.hpp:21,
from ../boost/math/differentiation/autodiff.hpp:11,
from ../libs/math/example/autodiff_black_scholes.cpp:6:
../boost/math/tools/promotion.hpp: In instantiation of 'struct boost::math::tools::promote_args_permissive<double, double>':
../boost/math/tools/promotion.hpp:119:70: required from 'struct boost::math::tools::promote_args<double, double>'
../boost/math/differentiation/autodiff.hpp:2011:41: recursively required from 'struct boost::math::tools::promote_args<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul> >'
../boost/math/differentiation/autodiff.hpp:42:105: recursively required from 'struct boost::math::differentiation::autodiff_v1::detail::promote_args_n<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul> >'
../boost/math/differentiation/autodiff.hpp:42:105: required from 'struct boost::math::differentiation::autodiff_v1::detail::promote_args_n<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul> >'
../boost/math/differentiation/autodiff.hpp:53:78: required by substitution of 'template<class RealType, class ... RealTypes> using promote = typename boost::math::differentiation::autodiff_v1::detail::promote_args_n::type [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; RealTypes = {boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>}]'
../libs/math/example/autodiff_black_scholes.cpp:32:34: required by substitution of 'template<class Price, class Sigma, class Tau, class Rate> boost::math::differentiation::autodiff_v1::promote<Price, Sigma, Tau, Rate> black_scholes_option_price(CP, double, const Price&, const Sigma&, const Tau&, const Rate&) [with Price = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; Sigma = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>; Tau = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>; Rate = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>]'
../libs/math/example/autodiff_black_scholes.cpp:58:83: required from here
../boost/math/tools/promotion.hpp:108:23: error: no type named 'type' in 'struct boost::math::tools::pa2_integral_already_removed<double, double, true>'
>::type;
^
../libs/math/example/autodiff_black_scholes.cpp: In function 'int main()':
../libs/math/example/autodiff_black_scholes.cpp:58:83: error: no matching function for call to 'black_scholes_option_price(CP, const double&, const boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>&, const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>&, const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>&, const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>&)'
auto const call_price = black_scholes_option_price(CP::call, K, S, sigma, tau, r);
^
../libs/math/example/autodiff_black_scholes.cpp:32:34: note: candidate: template<class Price, class Sigma, class Tau, class Rate> boost::math::differentiation::autodiff_v1::promote<Price, Sigma, Tau, Rate> black_scholes_option_price(CP, double, const Price&, const Sigma&, const Tau&, const Rate&)
promote<Price, Sigma, Tau, Rate> black_scholes_option_price(CP cp,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:32:34: note: substitution of deduced template arguments resulted in errors seen above
../libs/math/example/autodiff_black_scholes.cpp:59:81: error: no matching function for call to 'black_scholes_option_price(CP, const double&, const boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>&, const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>&, const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>&, const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>&)'
auto const put_price = black_scholes_option_price(CP::put, K, S, sigma, tau, r);
^
../libs/math/example/autodiff_black_scholes.cpp:32:34: note: candidate: template<class Price, class Sigma, class Tau, class Rate> boost::math::differentiation::autodiff_v1::promote<Price, Sigma, Tau, Rate> black_scholes_option_price(CP, double, const Price&, const Sigma&, const Tau&, const Rate&)
promote<Price, Sigma, Tau, Rate> black_scholes_option_price(CP cp,
^~~~~~~~~~~~~~~~~~~~~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:32:34: note: template argument deduction/substitution failed:
../libs/math/example/autodiff_black_scholes.cpp:61:66: error: no match for 'operator*' (operand types are 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' and 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>')
double const d1 = static_cast<double>((log(S / K) + (r + sigma * sigma / 2) * tau) / (sigma * sqrt(tau)));
~~~~~~^~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:61:66: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:61:66: note: no known conversion for argument 2 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:61:95: error: no match for 'operator*' (operand types are 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' and 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>')
double const d1 = static_cast<double>((log(S / K) + (r + sigma * sigma / 2) * tau) / (sigma * sqrt(tau)));
~~~~~~^~~~~~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:61:95: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:61:95: note: no known conversion for argument 2 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:62:66: error: no match for 'operator*' (operand types are 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' and 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>')
double const d2 = static_cast<double>((log(S / K) + (r - sigma * sigma / 2) * tau) / (sigma * sqrt(tau)));
~~~~~~^~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:62:66: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:62:66: note: no known conversion for argument 2 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:62:95: error: no match for 'operator*' (operand types are 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' and 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>')
double const d2 = static_cast<double>((log(S / K) + (r - sigma * sigma / 2) * tau) / (sigma * sqrt(tau)));
~~~~~~^~~~~~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:62:95: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:62:95: note: no known conversion for argument 2 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:65:63: error: no match for 'operator*' (operand types are 'boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>' and 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>')
double const formula_vega = static_cast<double>(S * phi(d1) * sqrt(tau));
~~~~~~~~~~~~^~~~~~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:65:63: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:65:63: note: no known conversion for argument 2 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = double; long unsigned int Order = 3ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = double; long unsigned int Order = 3ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:67:40: error: no match for 'operator*' (operand types are 'boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>' and 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>')
static_cast<double>(-S * phi(d1) * sigma / (2 * sqrt(tau)) - r * K * exp(-r * tau) * Phi(+d2));
~~~~~~~~~~~~~^~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:67:40: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:67:40: note: no known conversion for argument 2 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = double; long unsigned int Order = 3ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = double; long unsigned int Order = 3ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:67:83: error: no match for 'operator*' (operand types are 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>' and 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>')
static_cast<double>(-S * phi(d1) * sigma / (2 * sqrt(tau)) - r * K * exp(-r * tau) * Phi(+d2));
~~~^~~~~
../libs/math/example/autodiff_black_scholes.cpp:67:83: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:67:83: note: no known conversion for argument 2 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>; long unsigned int Order = 0ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>; long unsigned int Order = 0ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:69:40: error: no match for 'operator*' (operand types are 'boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>' and 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>')
static_cast<double>(-S * phi(d1) * sigma / (2 * sqrt(tau)) + r * K * exp(-r * tau) * Phi(-d2));
~~~~~~~~~~~~~^~~~~~~
../libs/math/example/autodiff_black_scholes.cpp:69:40: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:69:40: note: no known conversion for argument 2 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = double; long unsigned int Order = 3ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = double; long unsigned int Order = 3ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<double, 3ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:69:83: error: no match for 'operator*' (operand types are 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>' and 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>')
static_cast<double>(-S * phi(d1) * sigma / (2 * sqrt(tau)) + r * K * exp(-r * tau) * Phi(-d2));
~~~^~~~~
../libs/math/example/autodiff_black_scholes.cpp:69:83: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:69:83: note: no known conversion for argument 2 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>; long unsigned int Order = 0ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>; long unsigned int Order = 0ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../libs/math/example/autodiff_black_scholes.cpp:70:73: error: no match for 'operator*' (operand types are 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>' and 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>')
double const formula_call_rho = static_cast<double>(+K * tau * exp(-r * tau) * Phi(+d2));
~~~^~~~~
../libs/math/example/autodiff_black_scholes.cpp:70:73: note: candidate: operator*(boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>, 0ul>::root_type {aka double}, boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}) <built-in>
../libs/math/example/autodiff_black_scholes.cpp:70:73: note: no known conversion for argument 2 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>::root_type {aka double}'
In file included from ../libs/math/example/autodiff_black_scholes.cpp:6:0:
../boost/math/differentiation/autodiff.hpp:219:42: note: candidate: template<class RealType2, long unsigned int Order2> boost::math::differentiation::autodiff_v1::promote<boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>, boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2> > boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const boost::math::differentiation::autodiff_v1::detail::fvar<RealType2, Order2>&) const [with RealType2 = RealType2; long unsigned int Order2 = Order2; RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>; long unsigned int Order = 0ul]
promote<fvar, fvar<RealType2, Order2>> operator*(fvar<RealType2, Order2> const&)const;
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:219:42: note: template argument deduction/substitution failed:
../boost/math/differentiation/autodiff.hpp:861:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::operator*(const root_type&) const [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>; long unsigned int Order = 0ul; boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> fvar<RealType, Order>::operator*(root_type const& ca) const {
^~~~~~~~~~~~~~~~~~~~~
../boost/math/differentiation/autodiff.hpp:861:23: note: no known conversion for argument 1 from 'const boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>, 0ul>' to 'const root_type& {aka const double&}'
../boost/math/differentiation/autodiff.hpp:868:23: note: candidate: boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order> boost::math::differentiation::autodiff_v1::detail::operator*(const typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type&, const boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>&) [with RealType = boost::math::differentiation::autodiff_v1::detail::fvar<boost::math::differentiation::autodiff_v1::detail::fvar<double, 1ul>, 0ul>; long unsigned int Order = 0ul; typename boost::math::differentiation::autodiff_v1::detail::fvar<RealType, Order>::root_type = double]
fvar<RealType, Order> operator*(typename fvar<RealType, Order>::root_type const& ca,
^~~~~~~~
../boost/math/differentiation/autodiff.hpp:868:23: note: no known conversion for argument 1 from 'boost::math::differentiation::autodiff_v1...
[The content has been trimmed by the report system because it exceeds 65536 bytes]