Created
July 16, 2017 17:03
-
-
Save MikeLing/214818231c7a276e63cb96b211e6adfc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/random:3647:21: error: no matching function for call to | |
object of type 'const std::__1::mersenne_twister_engine<unsigned long long, 64, 312, 156, 31, 13043109905998158313, 29, 6148914691236517205, 17, | |
8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005>' | |
_RealType _Sp = __g() - _URNG::min(); | |
^~~ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/random:3774:18: note: in instantiation of function template | |
specialization 'std::__1::generate_canonical<double, 53, const std::__1::mersenne_twister_engine<unsigned long long, 64, 312, 156, 31, 13043109905998158313, | |
29, 6148914691236517205, 17, 8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005> >' requested here | |
* _VSTD::generate_canonical<_RealType, numeric_limits<_RealType>::digits>(__g) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/random:3738:17: note: in instantiation of function template | |
specialization 'std::__1::uniform_real_distribution<double>::operator()<const std::__1::mersenne_twister_engine<unsigned long long, 64, 312, 156, 31, | |
13043109905998158313, 29, 6148914691236517205, 17, 8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005> >' requested here | |
{return (*this)(__g, __p_);} | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/random:4314:19: note: in instantiation of function template | |
specialization 'std::__1::uniform_real_distribution<double>::operator()<const std::__1::mersenne_twister_engine<unsigned long long, 64, 312, 156, 31, | |
13043109905998158313, 29, 6148914691236517205, 17, 8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005> >' requested here | |
__u = _Uni(__g); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/random:4253:17: note: in instantiation of function template | |
specialization 'std::__1::normal_distribution<double>::operator()<const std::__1::mersenne_twister_engine<unsigned long long, 64, 312, 156, 31, | |
13043109905998158313, 29, 6148914691236517205, 17, 8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005> >' requested here | |
{return (*this)(__g, __p_);} | |
^ | |
/Users/mikeling/shogun/src/shogun/mathematics/linalg/ratapprox/tracesampler/NormalSampler.cpp:46:14: note: in instantiation of function template specialization | |
'std::__1::normal_distribution<double>::operator()<const std::__1::mersenne_twister_engine<unsigned long long, 64, 312, 156, 31, 13043109905998158313, 29, | |
6148914691236517205, 17, 8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005> >' requested here | |
s[i] = dist(m_rng); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/random:2128:17: note: candidate function not viable: 'this' | |
argument has type 'const std::__1::mersenne_twister_engine<unsigned long long, 64, 312, 156, 31, 13043109905998158313, 29, 6148914691236517205, 17, | |
8202884508482404352, 37, 18444473444759240704, 43, 6364136223846793005>', but method is not marked const | |
result_type operator()(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment