We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This line should be corrected At /math/distributions/geometric.hpp at line 404
return std::log(p); // success_fraction
Now the code is
return log(p); // success_fraction
When building that library. Throws this error
In file included from /opt/homebrew/include/boost/math/distributions.hpp:26: /opt/homebrew/include/boost/math/distributions/geometric.hpp:404:16: error: unexpected namespace name 'log': expected expression return log(p); // success_fraction ^ 1 error generated. make[2]: *** [CMakeFiles/PonisIqCoreNLV.dir/Unity/unity_0_cxx.cxx.o] Error 1 make[1]: *** [CMakeFiles/PonisIqCoreNLV.dir/all] Error 2 make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
I will try to correct by my self on the repo, but don't know if it is possible Editing this file in a fork https://github.com/boostorg/math/blob/develop/include/boost/math/distributions/geometric.hpp
Sorry, something went wrong.
Update geometric.hpp
52af702
The proposal is derived from this issue boostorg#1126
No branches or pull requests
This line should be corrected
At /math/distributions/geometric.hpp at line 404
Now the code is
When building that library. Throws this error
The text was updated successfully, but these errors were encountered: