{"action":"opened","number":267,"pull_request":{"url":"https://api.github.com/repos/pybind/pybind11/pulls/267","id":76337813,"html_url":"https://github.com/pybind/pybind11/pull/267","diff_url":"https://github.com/pybind/pybind11/pull/267.diff","patch_url":"https://github.com/pybind/pybind11/pull/267.patch","issue_url":"https://api.github.com/repos/pybind/pybind11/issues/267","number":267,"state":"open","locked":false,"title":"Non-contiguous arrays","user":{"login":"bennorth","id":9059396,"avatar_url":"https://avatars.githubusercontent.com/u/9059396?v=3","gravatar_id":"","url":"https://api.github.com/users/bennorth","html_url":"https://github.com/bennorth","followers_url":"https://api.github.com/users/bennorth/followers","following_url":"https://api.github.com/users/bennorth/following{/other_user}","gists_url":"https://api.github.com/users/bennorth/gists{/gist_id}","starred_url":"https://api.github.com/users/bennorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennorth/subscriptions","organizations_url":"https://api.github.com/users/bennorth/orgs","repos_url":"https://api.github.com/users/bennorth/repos","events_url":"https://api.github.com/users/bennorth/events{/privacy}","received_events_url":"https://api.github.com/users/bennorth/received_events","type":"User","site_admin":false},"body":"I noticed wrong vector values appearing in my pybind/Eigen-using code, and boiled it down to what I think is a problem in the conversion of non-contiguous Numpy arrays to Eigen Vectors.  This PR adds a set of four test cases, three of which initially fail.  It then (93594a3) updates the 'ndim == 1' case of `type_caster<Type>::load()` in `eigen.h`, which fixes those tests.  It also adds some matrix tests of the same general flavour, all of which already pass, but perhaps the additional coverage would be reassuring.","created_at":"2016-07-05T20:30:31Z","updated_at":"2016-07-05T20:30:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pybind/pybind11/pulls/267/commits","review_comments_url":"https://api.github.com/repos/pybind/pybind11/pulls/267/comments","review_comment_url":"https://api.github.com/repos/pybind/pybind11/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pybind/pybind11/issues/267/comments","statuses_url":"https://api.github.com/repos/pybind/pybind11/statuses/7b8d9e024622897389c2d66203638070923cedcb","head":{"label":"bennorth:non-contiguous-arrays","ref":"non-contiguous-arrays","sha":"7b8d9e024622897389c2d66203638070923cedcb","user":{"login":"bennorth","id":9059396,"avatar_url":"https://avatars.githubusercontent.com/u/9059396?v=3","gravatar_id":"","url":"https://api.github.com/users/bennorth","html_url":"https://github.com/bennorth","followers_url":"https://api.github.com/users/bennorth/followers","following_url":"https://api.github.com/users/bennorth/following{/other_user}","gists_url":"https://api.github.com/users/bennorth/gists{/gist_id}","starred_url":"https://api.github.com/users/bennorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennorth/subscriptions","organizations_url":"https://api.github.com/users/bennorth/orgs","repos_url":"https://api.github.com/users/bennorth/repos","events_url":"https://api.github.com/users/bennorth/events{/privacy}","received_events_url":"https://api.github.com/users/bennorth/received_events","type":"User","site_admin":false},"repo":{"id":62666697,"name":"pybind11","full_name":"bennorth/pybind11","owner":{"login":"bennorth","id":9059396,"avatar_url":"https://avatars.githubusercontent.com/u/9059396?v=3","gravatar_id":"","url":"https://api.github.com/users/bennorth","html_url":"https://github.com/bennorth","followers_url":"https://api.github.com/users/bennorth/followers","following_url":"https://api.github.com/users/bennorth/following{/other_user}","gists_url":"https://api.github.com/users/bennorth/gists{/gist_id}","starred_url":"https://api.github.com/users/bennorth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bennorth/subscriptions","organizations_url":"https://api.github.com/users/bennorth/orgs","repos_url":"https://api.github.com/users/bennorth/repos","events_url":"https://api.github.com/users/bennorth/events{/privacy}","received_events_url":"https://api.github.com/users/bennorth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bennorth/pybind11","description":"Seamless operability between C++11 and Python","fork":true,"url":"https://api.github.com/repos/bennorth/pybind11","forks_url":"https://api.github.com/repos/bennorth/pybind11/forks","keys_url":"https://api.github.com/repos/bennorth/pybind11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bennorth/pybind11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bennorth/pybind11/teams","hooks_url":"https://api.github.com/repos/bennorth/pybind11/hooks","issue_events_url":"https://api.github.com/repos/bennorth/pybind11/issues/events{/number}","events_url":"https://api.github.com/repos/bennorth/pybind11/events","assignees_url":"https://api.github.com/repos/bennorth/pybind11/assignees{/user}","branches_url":"https://api.github.com/repos/bennorth/pybind11/branches{/branch}","tags_url":"https://api.github.com/repos/bennorth/pybind11/tags","blobs_url":"https://api.github.com/repos/bennorth/pybind11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bennorth/pybind11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bennorth/pybind11/git/refs{/sha}","trees_url":"https://api.github.com/repos/bennorth/pybind11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bennorth/pybind11/statuses/{sha}","languages_url":"https://api.github.com/repos/bennorth/pybind11/languages","stargazers_url":"https://api.github.com/repos/bennorth/pybind11/stargazers","contributors_url":"https://api.github.com/repos/bennorth/pybind11/contributors","subscribers_url":"https://api.github.com/repos/bennorth/pybind11/subscribers","subscription_url":"https://api.github.com/repos/bennorth/pybind11/subscription","commits_url":"https://api.github.com/repos/bennorth/pybind11/commits{/sha}","git_commits_url":"https://api.github.com/repos/bennorth/pybind11/git/commits{/sha}","comments_url":"https://api.github.com/repos/bennorth/pybind11/comments{/number}","issue_comment_url":"https://api.github.com/repos/bennorth/pybind11/issues/comments{/number}","contents_url":"https://api.github.com/repos/bennorth/pybind11/contents/{+path}","compare_url":"https://api.github.com/repos/bennorth/pybind11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bennorth/pybind11/merges","archive_url":"https://api.github.com/repos/bennorth/pybind11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bennorth/pybind11/downloads","issues_url":"https://api.github.com/repos/bennorth/pybind11/issues{/number}","pulls_url":"https://api.github.com/repos/bennorth/pybind11/pulls{/number}","milestones_url":"https://api.github.com/repos/bennorth/pybind11/milestones{/number}","notifications_url":"https://api.github.com/repos/bennorth/pybind11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bennorth/pybind11/labels{/name}","releases_url":"https://api.github.com/repos/bennorth/pybind11/releases{/id}","deployments_url":"https://api.github.com/repos/bennorth/pybind11/deployments","created_at":"2016-07-05T20:15:35Z","updated_at":"2016-07-05T20:15:37Z","pushed_at":"2016-07-05T20:24:32Z","git_url":"git://github.com/bennorth/pybind11.git","ssh_url":"git@github.com:bennorth/pybind11.git","clone_url":"https://github.com/bennorth/pybind11.git","svn_url":"https://github.com/bennorth/pybind11","homepage":null,"size":1558,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pybind:master","ref":"master","sha":"c9f69bc35abe4cdbc4fe9d14e80cc46aa3d49f19","user":{"login":"pybind","id":17565521,"avatar_url":"https://avatars.githubusercontent.com/u/17565521?v=3","gravatar_id":"","url":"https://api.github.com/users/pybind","html_url":"https://github.com/pybind","followers_url":"https://api.github.com/users/pybind/followers","following_url":"https://api.github.com/users/pybind/following{/other_user}","gists_url":"https://api.github.com/users/pybind/gists{/gist_id}","starred_url":"https://api.github.com/users/pybind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pybind/subscriptions","organizations_url":"https://api.github.com/users/pybind/orgs","repos_url":"https://api.github.com/users/pybind/repos","events_url":"https://api.github.com/users/pybind/events{/privacy}","received_events_url":"https://api.github.com/users/pybind/received_events","type":"Organization","site_admin":false},"repo":{"id":38581626,"name":"pybind11","full_name":"pybind/pybind11","owner":{"login":"pybind","id":17565521,"avatar_url":"https://avatars.githubusercontent.com/u/17565521?v=3","gravatar_id":"","url":"https://api.github.com/users/pybind","html_url":"https://github.com/pybind","followers_url":"https://api.github.com/users/pybind/followers","following_url":"https://api.github.com/users/pybind/following{/other_user}","gists_url":"https://api.github.com/users/pybind/gists{/gist_id}","starred_url":"https://api.github.com/users/pybind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pybind/subscriptions","organizations_url":"https://api.github.com/users/pybind/orgs","repos_url":"https://api.github.com/users/pybind/repos","events_url":"https://api.github.com/users/pybind/events{/privacy}","received_events_url":"https://api.github.com/users/pybind/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pybind/pybind11","description":"Seamless operability between C++11 and Python","fork":false,"url":"https://api.github.com/repos/pybind/pybind11","forks_url":"https://api.github.com/repos/pybind/pybind11/forks","keys_url":"https://api.github.com/repos/pybind/pybind11/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pybind/pybind11/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pybind/pybind11/teams","hooks_url":"https://api.github.com/repos/pybind/pybind11/hooks","issue_events_url":"https://api.github.com/repos/pybind/pybind11/issues/events{/number}","events_url":"https://api.github.com/repos/pybind/pybind11/events","assignees_url":"https://api.github.com/repos/pybind/pybind11/assignees{/user}","branches_url":"https://api.github.com/repos/pybind/pybind11/branches{/branch}","tags_url":"https://api.github.com/repos/pybind/pybind11/tags","blobs_url":"https://api.github.com/repos/pybind/pybind11/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pybind/pybind11/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pybind/pybind11/git/refs{/sha}","trees_url":"https://api.github.com/repos/pybind/pybind11/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pybind/pybind11/statuses/{sha}","languages_url":"https://api.github.com/repos/pybind/pybind11/languages","stargazers_url":"https://api.github.com/repos/pybind/pybind11/stargazers","contributors_url":"https://api.github.com/repos/pybind/pybind11/contributors","subscribers_url":"https://api.github.com/repos/pybind/pybind11/subscribers","subscription_url":"https://api.github.com/repos/pybind/pybind11/subscription","commits_url":"https://api.github.com/repos/pybind/pybind11/commits{/sha}","git_commits_url":"https://api.github.com/repos/pybind/pybind11/git/commits{/sha}","comments_url":"https://api.github.com/repos/pybind/pybind11/comments{/number}","issue_comment_url":"https://api.github.com/repos/pybind/pybind11/issues/comments{/number}","contents_url":"https://api.github.com/repos/pybind/pybind11/contents/{+path}","compare_url":"https://api.github.com/repos/pybind/pybind11/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pybind/pybind11/merges","archive_url":"https://api.github.com/repos/pybind/pybind11/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pybind/pybind11/downloads","issues_url":"https://api.github.com/repos/pybind/pybind11/issues{/number}","pulls_url":"https://api.github.com/repos/pybind/pybind11/pulls{/number}","milestones_url":"https://api.github.com/repos/pybind/pybind11/milestones{/number}","notifications_url":"https://api.github.com/repos/pybind/pybind11/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pybind/pybind11/labels{/name}","releases_url":"https://api.github.com/repos/pybind/pybind11/releases{/id}","deployments_url":"https://api.github.com/repos/pybind/pybind11/deployments","created_at":"2015-07-05T19:46:48Z","updated_at":"2016-07-05T10:45:46Z","pushed_at":"2016-07-05T20:24:02Z","git_url":"git://github.com/pybind/pybind11.git","ssh_url":"git@github.com:pybind/pybind11.git","clone_url":"https://github.com/pybind/pybind11.git","svn_url":"https://github.com/pybind/pybind11","homepage":null,"size":1558,"stargazers_count":1365,"watchers_count":1365,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":122,"mirror_url":null,"open_issues_count":9,"forks":122,"open_issues":9,"watchers":1365,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/267"},"html":{"href":"https://github.com/pybind/pybind11/pull/267"},"issue":{"href":"https://api.github.com/repos/pybind/pybind11/issues/267"},"comments":{"href":"https://api.github.com/repos/pybind/pybind11/issues/267/comments"},"review_comments":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/267/comments"},"review_comment":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pybind/pybind11/pulls/267/commits"},"statuses":{"href":"https://api.github.com/repos/pybind/pybind11/statuses/7b8d9e024622897389c2d66203638070923cedcb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":5,"additions":55,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"bennorth"}}