boost::math::lgamma Probleme...

bsd4me

Well-Known Member
Hallo,

ich versuche gerade cufflinks auf FreeBSD 10.1 ans laufen zu bekommen. Auf 10.0 ging es...

es tritt folgender Fehler auf:

differential.cpp:159:31: warning: unused variable 's2' [-Wunused-variable]
const AbundanceGroup& s2 = prev.transcripts;
^
In file included from differential.cpp:16:
In file included from /usr/local/include/boost/math/special_functions/gamma.hpp:20:

/usr/local/include/boost/math/tools/promotion.hpp:141:10: error: implicit instantiation of undefined template
'boost::STATIC_ASSERTION_FAILURE<false>'
BOOST_STATIC_ASSERT_MSG((0 == ::boost::is_same<type, long double>::value), "Sorry, but this platform does not have sufficient long d...

^
/usr/local/include/boost/static_assert.hpp:36:48: note: expanded from macro 'BOOST_STATIC_ASSERT_MSG'
# define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )
^
/usr/local/include/boost/static_assert.hpp:169:13: note: expanded from macro 'BOOST_STATIC_ASSERT'
sizeof(::boost::STATIC_ASSERTION_FAILURE< BOOST_STATIC_ASSERT_BOOL_CAST( __VA_ARGS__ ) >)>\
^
/usr/local/include/boost/math/special_functions/gamma.hpp:1476:8: note: in instantiation of template class 'boost::math::tools::promote_args<long
double, float, float, float, float, float>' requested here
inline typename tools::promote_args<T>::type
^
/usr/local/include/boost/math/special_functions/gamma.hpp:1477:4: note: while substituting explicitly-specified template arguments into function
template 'lgamma'
lgamma(T x)
^
/usr/local/include/boost/static_assert.hpp:87:26: note: template is declared here
template <bool x> struct STATIC_ASSERTION_FAILURE;
^

differential.cpp:271:20: error: no matching function for call to 'lgamma'
lgamma_k = boost::math::lgamma<long double>(gamma_k);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

/usr/local/include/boost/math/special_functions/gamma.hpp:1477:4: note: candidate template ignored: substitution failure [with T = long double]
lgamma(T x)
^


hat jemand eine Idee, warum das so ist?

Super Danke!! Norbert
 
Zurück
Oben