{"action":"created","issue":{"url":"https://api.github.com/repos/neurodata/jkmeans/issues/7","repository_url":"https://api.github.com/repos/neurodata/jkmeans","labels_url":"https://api.github.com/repos/neurodata/jkmeans/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/neurodata/jkmeans/issues/7/comments","events_url":"https://api.github.com/repos/neurodata/jkmeans/issues/7/events","html_url":"https://github.com/neurodata/jkmeans/issues/7","id":175154834,"number":7,"title":"Compilation error","user":{"login":"MrAE","id":6886669,"avatar_url":"https://avatars.githubusercontent.com/u/6886669?v=3","gravatar_id":"","url":"https://api.github.com/users/MrAE","html_url":"https://github.com/MrAE","followers_url":"https://api.github.com/users/MrAE/followers","following_url":"https://api.github.com/users/MrAE/following{/other_user}","gists_url":"https://api.github.com/users/MrAE/gists{/gist_id}","starred_url":"https://api.github.com/users/MrAE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrAE/subscriptions","organizations_url":"https://api.github.com/users/MrAE/orgs","repos_url":"https://api.github.com/users/MrAE/repos","events_url":"https://api.github.com/users/MrAE/events{/privacy}","received_events_url":"https://api.github.com/users/MrAE/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-06T03:48:15Z","updated_at":"2016-09-06T14:38:16Z","closed_at":"2016-09-06T14:38:16Z","body":"I get the following error when re-compiling the jkmeans package:\r\n@laplacianduan we can discuss in person. \r\n\r\n```\r\nSynapse:neurodata JLP$ R CMD INSTALL jkmeans\r\n* installing to library ‘/Users/JLP/R_libs’\r\n* installing *source* package ‘jkmeans’ ...\r\n** libs\r\n/opt/local/bin/g++-mp-6 -fopenmp  -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I\"/Users/JLP/R_libs/Rcpp/include\" -I\"/Users/JLP/R_libs/RcppArmadillo/include\"  -O3 -fopenmp -fPIC  -g -O3  -std=c++11 -c jkmeans.cpp -o jkmeans.o\r\nIn file included from jkmeans.cpp:5:0:\r\nmixture.hpp: In member function 'arma::uvec Mixture::clusteringMAP()':\r\nmixture.hpp:283:33: error: 'index_max' is not a member of 'arm'\r\n   uvec clusteringMAP() { return arma::index_max(zeta, 1); }\r\n                                 ^~~~\r\nmake: *** [jkmeans.o] Error 1\r\nERROR: compilation failed for package ‘jkmeans’\r\n* removing ‘/Users/JLP/R_libs/jkmeans’\r\n* restoring previous ‘/Users/JLP/R_libs/jkmeans’\r\n```"},"comment":{"url":"https://api.github.com/repos/neurodata/jkmeans/issues/comments/244971073","html_url":"https://github.com/neurodata/jkmeans/issues/7#issuecomment-244971073","issue_url":"https://api.github.com/repos/neurodata/jkmeans/issues/7","id":244971073,"user":{"login":"MrAE","id":6886669,"avatar_url":"https://avatars.githubusercontent.com/u/6886669?v=3","gravatar_id":"","url":"https://api.github.com/users/MrAE","html_url":"https://github.com/MrAE","followers_url":"https://api.github.com/users/MrAE/followers","following_url":"https://api.github.com/users/MrAE/following{/other_user}","gists_url":"https://api.github.com/users/MrAE/gists{/gist_id}","starred_url":"https://api.github.com/users/MrAE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrAE/subscriptions","organizations_url":"https://api.github.com/users/MrAE/orgs","repos_url":"https://api.github.com/users/MrAE/repos","events_url":"https://api.github.com/users/MrAE/events{/privacy}","received_events_url":"https://api.github.com/users/MrAE/received_events","type":"User","site_admin":false},"created_at":"2016-09-06T14:38:16Z","updated_at":"2016-09-06T14:38:16Z","body":"Fixed by updating `RcppArmadillo`"}}
{"actor":{"display_login":"MrAE"}}