{"action":"created","issue":{"url":"https://api.github.com/repos/jewmanchue/vcflib/issues/6","labels_url":"https://api.github.com/repos/jewmanchue/vcflib/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jewmanchue/vcflib/issues/6/comments","events_url":"https://api.github.com/repos/jewmanchue/vcflib/issues/6/events","html_url":"https://github.com/jewmanchue/vcflib/issues/6","id":67585385,"number":6,"title":"Segmentation fault","user":{"login":"bibb","id":5156911,"avatar_url":"https://avatars.githubusercontent.com/u/5156911?v=3","gravatar_id":"","url":"https://api.github.com/users/bibb","html_url":"https://github.com/bibb","followers_url":"https://api.github.com/users/bibb/followers","following_url":"https://api.github.com/users/bibb/following{/other_user}","gists_url":"https://api.github.com/users/bibb/gists{/gist_id}","starred_url":"https://api.github.com/users/bibb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibb/subscriptions","organizations_url":"https://api.github.com/users/bibb/orgs","repos_url":"https://api.github.com/users/bibb/repos","events_url":"https://api.github.com/users/bibb/events{/privacy}","received_events_url":"https://api.github.com/users/bibb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jewmanchue/vcflib/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"jewmanchue","id":651553,"avatar_url":"https://avatars.githubusercontent.com/u/651553?v=3","gravatar_id":"","url":"https://api.github.com/users/jewmanchue","html_url":"https://github.com/jewmanchue","followers_url":"https://api.github.com/users/jewmanchue/followers","following_url":"https://api.github.com/users/jewmanchue/following{/other_user}","gists_url":"https://api.github.com/users/jewmanchue/gists{/gist_id}","starred_url":"https://api.github.com/users/jewmanchue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jewmanchue/subscriptions","organizations_url":"https://api.github.com/users/jewmanchue/orgs","repos_url":"https://api.github.com/users/jewmanchue/repos","events_url":"https://api.github.com/users/jewmanchue/events{/privacy}","received_events_url":"https://api.github.com/users/jewmanchue/received_events","type":"User","site_admin":false},"milestone":null,"comments":21,"created_at":"2015-04-10T12:38:09Z","updated_at":"2015-04-20T16:48:44Z","closed_at":null,"body":"Hello, \r\n\r\nI'm usign GPAT++ pFST function to get Fst Pvalues across populations.\r\nI'have followed the instructions for installation and then used the program but an error ocurrs:\r\n\r\nINFO: There are 11 individuals in the target\r\nINFO: target ids: 0,1,2,3,4,5,6,7,8,9,10\r\nINFO: There are 14 individuals in the background\r\nINFO: background ids: 406,407,408,409,410,411,414,415,416,417,418,419,420,421\r\nINFO: File: myvcf.vcf.gz\r\nINFO: genotype likelihoods set to: PL\r\nSegmentation fault (core dumped)\r\n\r\nMy SO is Ubuntu 14.10 64-bits\r\n\r\nHope you can help me\r\n\r\nBest regards, \r\n\r\n--Bernabé"},"comment":{"url":"https://api.github.com/repos/jewmanchue/vcflib/issues/comments/94505868","html_url":"https://github.com/jewmanchue/vcflib/issues/6#issuecomment-94505868","issue_url":"https://api.github.com/repos/jewmanchue/vcflib/issues/6","id":94505868,"user":{"login":"bibb","id":5156911,"avatar_url":"https://avatars.githubusercontent.com/u/5156911?v=3","gravatar_id":"","url":"https://api.github.com/users/bibb","html_url":"https://github.com/bibb","followers_url":"https://api.github.com/users/bibb/followers","following_url":"https://api.github.com/users/bibb/following{/other_user}","gists_url":"https://api.github.com/users/bibb/gists{/gist_id}","starred_url":"https://api.github.com/users/bibb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bibb/subscriptions","organizations_url":"https://api.github.com/users/bibb/orgs","repos_url":"https://api.github.com/users/bibb/repos","events_url":"https://api.github.com/users/bibb/events{/privacy}","received_events_url":"https://api.github.com/users/bibb/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T16:48:44Z","updated_at":"2015-04-20T16:48:44Z","body":"Yes, I did it again, this is the whole Error output...\r\n\r\nsrc/iHS.cpp:126:18: error: call of overloaded ‘isnan(double&)’ is ambiguous\r\n     if(isnan(iHSA) || isnan(iHSR)){\r\n                  ^\r\nsrc/iHS.cpp:126:18: note: candidates are:\r\nIn file included from /usr/include/features.h:374:0,\r\n                 from /usr/include/x86_64-linux-gnu/c++/4.9/bits/os_defines.h:39,\r\n                 from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++config.h:430,\r\n                 from /usr/include/c++/4.9/bits/stl_algobase.h:59,\r\n                 from /usr/include/c++/4.9/vector:60,\r\n                 from src/Variant.h:4,\r\n                 from src/iHS.cpp:1:\r\n/usr/include/x86_64-linux-gnu/bits/mathcalls.h:234:1: note: int isnan(double)\r\n __MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));\r\n ^\r\nIn file included from /usr/include/c++/4.9/random:38:0,\r\n                 from /usr/include/c++/4.9/bits/stl_algo.h:66,\r\n                 from /usr/include/c++/4.9/algorithm:62,\r\n                 from ./smithwaterman/SmithWatermanGotoh.h:4,\r\n                 from src/Variant.h:19,\r\n                 from src/iHS.cpp:1:\r\n/usr/include/c++/4.9/cmath:626:3: note: constexpr bool std::isnan(long double)\r\n   isnan(long double __x)\r\n   ^\r\n/usr/include/c++/4.9/cmath:622:3: note: constexpr bool std::isnan(double)\r\n   isnan(double __x)\r\n   ^\r\n/usr/include/c++/4.9/cmath:618:3: note: constexpr bool std::isnan(float)\r\n   isnan(float __x)\r\n   ^\r\nsrc/iHS.cpp:126:33: error: call of overloaded ‘isnan(double&)’ is ambiguous\r\n     if(isnan(iHSA) || isnan(iHSR)){\r\n                                 ^\r\nsrc/iHS.cpp:126:33: note: candidates are:\r\nIn file included from /usr/include/features.h:374:0,\r\n                 from /usr/include/x86_64-linux-gnu/c++/4.9/bits/os_defines.h:39,\r\n                 from /usr/include/x86_64-linux-gnu/c++/4.9/bits/c++config.h:430,\r\n                 from /usr/include/c++/4.9/bits/stl_algobase.h:59,\r\n                 from /usr/include/c++/4.9/vector:60,\r\n                 from src/Variant.h:4,\r\n                 from src/iHS.cpp:1:\r\n/usr/include/x86_64-linux-gnu/bits/mathcalls.h:234:1: note: int isnan(double)\r\n __MATHDECL_1 (int,isnan,, (_Mdouble_ __value)) __attribute__ ((__const__));\r\n ^\r\nIn file included from /usr/include/c++/4.9/random:38:0,\r\n                 from /usr/include/c++/4.9/bits/stl_algo.h:66,\r\n                 from /usr/include/c++/4.9/algorithm:62,\r\n                 from ./smithwaterman/SmithWatermanGotoh.h:4,\r\n                 from src/Variant.h:19,\r\n                 from src/iHS.cpp:1:\r\n/usr/include/c++/4.9/cmath:626:3: note: constexpr bool std::isnan(long double)\r\n   isnan(long double __x)\r\n   ^\r\n/usr/include/c++/4.9/cmath:622:3: note: constexpr bool std::isnan(double)\r\n   isnan(double __x)\r\n   ^\r\n/usr/include/c++/4.9/cmath:618:3: note: constexpr bool std::isnan(float)\r\n   isnan(float __x)\r\n   ^\r\nMakefile:172: recipe for target 'bin/iHS' failed\r\nmake: *** [bin/iHS] Error 1"}}