[mlpack-git] [mlpack/mlpack] using rvalue references to set a given reference tree in FastMKS and DualTreeBoruvka (#799)

Ryan Curtin notifications at github.com
Tue Oct 25 19:58:51 EDT 2016


Hi Anuraj,

I saw your message in IRC:

> 12:37 < topology> why do travis and my local system give different results for the mlpack test suite?

Some tests have a random aspect, so it may be possible to get different results like that.  In the case of this PR, when I check the Travis output, it looks like there is a memory issue causing a segfault; often this will be a result of using some uninitialized pointer or something.  This may not occur on your local machine because the uninitialized value may just happen to be some value that does not cause a problem (like for instance, a pointer that is uninitialized has some chance of being NULL, which may not cause a crash).

Have you tried using valgrind to hunt down the source of the error?  Note that you can run just a single test with `mlpack_test -t FastMKSTest/FastMKSModelLinearTest`.

Hope this is helpful. :)

-- 
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/799#issuecomment-256213167
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20161025/90f5450f/attachment-0001.html>


More information about the mlpack-git mailing list