-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
S01E08 Remove arma::
element wise functions and join_cols
and join_rows
`
#3610
New issue
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
Conversation
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
The test failure on OS X looks unrelated (it's that RADICAL test failure I haven't been able to pin down). 👍 |
Okay, I see, do I restart the tests? |
No need, I know your changes did not cause that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised that there wasn't a problem on Windows with arma::pow
-> pow
, since there is also std::pow
. But, it works, so, it looks good to me. There are a lot of places where the lines were shorter; I know it is a really pedantic comment to point it out over and over again (and also tedious), so I did my best to provide easy-to-click suggestions, but there were some places where Github wouldn't allow me to do that.
@@ -44,7 +44,7 @@ template<typename DataType> | |||
DataType NormalDistribution<DataType>::LogProbability( | |||
const DataType& observation) const | |||
{ | |||
const DataType v1 = arma::log(sigma) + std::log(std::sqrt(2 * M_PI)); | |||
const DataType v1 = log(sigma) + std::log(std::sqrt(2 * M_PI)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you wanted to make this all ADL, you could remove the std::
too, but up to you; to me it doesn't make a difference either way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope, I agree, let us for once make the Windows compiler happy
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
…pl.hpp Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
Co-authored-by: Ryan Curtin <[email protected]>
…_error_impl.hpp Co-authored-by: Ryan Curtin <[email protected]>
…ion_impl.hpp Co-authored-by: Ryan Curtin <[email protected]>
…regression_impl.hpp Co-authored-by: Ryan Curtin <[email protected]>
…regression_impl.hpp Co-authored-by: Ryan Curtin <[email protected]>
Signed-off-by: Omar Shrit <[email protected]>
Thanks, I had to click on all the suggestions, I'm so sorry if you have received 35 emails, it is easier rather than going through each one of them with vim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Second approval provided automatically after 24 hours. 👍
No worries, easy enough to quickly go through the emails and see what happened 👍 |
Hopefully this passes on Windows