[mlpack-svn] [mlpack] add a test case for matrix sensing SDP (#373)

Ryan Curtin notifications at github.com
Tue Jan 6 14:17:32 EST 2015


Looks good to me, but in testing I discovered something weird (I'd like to see if you can reproduce it with your (presumably) slightly different system configuration).  Using gcc 4.9.2 with Armadillo 4.450.4, I built with cmake -DDEBUG=OFF -DPROFILE=OFF only to discover that when I ran

```
$ bin/mlpack_test -t LRSDPTest/GaussianMatrixSensingSDP
```

I got a segfault.  After digging deeper I discovered that this seems to be a compiler issue related to the use of `auto`.  I removed the use of `auto` and it passed; then I figured out how to upload gists with a command-line tool in order to show you what I did (the authentication mechanism failed entirely, but I'll leave that for another day):

https://gist.github.com/anonymous/7ba752ac4aa5c7d55b16

So, we can avoid `auto` or we can dig deeper into what may be an Armadillo issue or a gcc issue; your preference.  :)

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/373#issuecomment-68916872
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150106/caea78cf/attachment.html>


More information about the mlpack-git mailing list