{"action":"created","issue":{"url":"https://api.github.com/repos/molpopgen/fwdpp/issues/13","labels_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/13/comments","events_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/13/events","html_url":"https://github.com/molpopgen/fwdpp/issues/13","id":75425732,"number":13,"title":"Assertion failed for small # of generation in Python examples","user":{"login":"vancleve","id":1442334,"avatar_url":"https://avatars.githubusercontent.com/u/1442334?v=3","gravatar_id":"","url":"https://api.github.com/users/vancleve","html_url":"https://github.com/vancleve","followers_url":"https://api.github.com/users/vancleve/followers","following_url":"https://api.github.com/users/vancleve/following{/other_user}","gists_url":"https://api.github.com/users/vancleve/gists{/gist_id}","starred_url":"https://api.github.com/users/vancleve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vancleve/subscriptions","organizations_url":"https://api.github.com/users/vancleve/orgs","repos_url":"https://api.github.com/users/vancleve/repos","events_url":"https://api.github.com/users/vancleve/events{/privacy}","received_events_url":"https://api.github.com/users/vancleve/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-05-12T02:05:11Z","updated_at":"2015-05-16T23:50:15Z","closed_at":"2015-05-13T05:23:04Z","body":"Here is minimal working example:\r\n\r\n```python\r\nimport fwdpp_boost_python\r\n\r\nSEED=10\r\ngsl_rng=fwdpp_boost_python.GSLrng(SEED)\r\nNSAM=20\r\nN=500\r\n# Assertion failed: (this->m_holder.m_size > n), function operator[], file /usr/local/include/boost/container/vector.hpp, line 1488\r\nGENS=970\r\n# Success\r\n#GENS=971\r\nTHETA=50\r\nRHO=THETA\r\nmu=THETA/(4.*N)\r\nr=RHO/(4.*N)\r\n\r\nXX=fwdpp_boost_python.evolve(gsl_rng,N,GENS,mu,r)\r\nXX.sfs=fwdpp_boost_python.sfs(gsl_rng,XX,NSAM)\r\n\r\nprint(XX.sfs)\r\n```"},"comment":{"url":"https://api.github.com/repos/molpopgen/fwdpp/issues/comments/102712052","html_url":"https://github.com/molpopgen/fwdpp/issues/13#issuecomment-102712052","issue_url":"https://api.github.com/repos/molpopgen/fwdpp/issues/13","id":102712052,"user":{"login":"molpopgen","id":6416159,"avatar_url":"https://avatars.githubusercontent.com/u/6416159?v=3","gravatar_id":"","url":"https://api.github.com/users/molpopgen","html_url":"https://github.com/molpopgen","followers_url":"https://api.github.com/users/molpopgen/followers","following_url":"https://api.github.com/users/molpopgen/following{/other_user}","gists_url":"https://api.github.com/users/molpopgen/gists{/gist_id}","starred_url":"https://api.github.com/users/molpopgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molpopgen/subscriptions","organizations_url":"https://api.github.com/users/molpopgen/orgs","repos_url":"https://api.github.com/users/molpopgen/repos","events_url":"https://api.github.com/users/molpopgen/events{/privacy}","received_events_url":"https://api.github.com/users/molpopgen/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T23:50:15Z","updated_at":"2015-05-16T23:50:15Z","body":"Can you try it with this line commented out:  \n\n~~~\n#define FWDPP_SUGAR_USE_BOOST\n~~~\nThat'll tell us if the problem is with boost containers.  I'd be surprised, but it is with checking.\n"}}