[mlpack-git] [mlpack/mlpack] Adds a GammaDistribution object for estimating gamma parameters (#729)

Yannis Mentekidis notifications at github.com
Thu Jul 21 07:28:56 EDT 2016


So far I have backported these files:
```
bernoulli.hpp
math_fwd.hpp
policy.hpp
polygamma.hpp
trigamma.hpp
detail/bernoulli_details.hpp
detail/polygamma.hpp
detail/unchecked_bernoulli.hpp
```

In some of these (`bernoulli.hpp`, `detail/unchecked_bernoulli.hpp`, `trigamma.hpp`) the file `math_fwd.hpp` was included, which contains forward declarations. This was supposed to stop the "xyz is not a member of boost::math::..." errors, but in many cases it didn't. I don't understand why, since that file did contain all the forward declarations these files are unable to see.

Anyway, I started hard-coding the declarations by hand at the top of files. This resolved a number of errors, I'll keep doing it to see if I can end up with a passing build.

If, though, someone has any insight as to why this is happening, I would be very happy to implement a simpler solution, both because my fix is ugly and because I'm not sure it will ever work.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/729#issuecomment-234227523
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160721/eb1d6a00/attachment.html>


More information about the mlpack-git mailing list