{"action":"closed","number":703,"pull_request":{"url":"https://api.github.com/repos/QuantStack/xtensor/pulls/703","id":175779410,"html_url":"https://github.com/QuantStack/xtensor/pull/703","diff_url":"https://github.com/QuantStack/xtensor/pull/703.diff","patch_url":"https://github.com/QuantStack/xtensor/pull/703.patch","issue_url":"https://api.github.com/repos/QuantStack/xtensor/issues/703","number":703,"state":"closed","locked":false,"title":"fix return type of xfunction_base::load_simd_impl()","user":{"login":"ukoethe","id":897680,"avatar_url":"https://avatars2.githubusercontent.com/u/897680?v=4","gravatar_id":"","url":"https://api.github.com/users/ukoethe","html_url":"https://github.com/ukoethe","followers_url":"https://api.github.com/users/ukoethe/followers","following_url":"https://api.github.com/users/ukoethe/following{/other_user}","gists_url":"https://api.github.com/users/ukoethe/gists{/gist_id}","starred_url":"https://api.github.com/users/ukoethe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukoethe/subscriptions","organizations_url":"https://api.github.com/users/ukoethe/orgs","repos_url":"https://api.github.com/users/ukoethe/repos","events_url":"https://api.github.com/users/ukoethe/events{/privacy}","received_events_url":"https://api.github.com/users/ukoethe/received_events","type":"User","site_admin":false},"body":"The following code\r\n```\r\nxarray<double> a = {{1, 2, 3}, {0, 1, 0}, {0, 4, 1}};\r\ndouble b = 1.0;\r\nxarray<double> res = where(a > b, b, a);\r\n```\r\nfails to compile when `XTENSOR_USE_SIMD=ON`. This PR adds a reproducing test case and proposes a fix.","created_at":"2018-03-18T23:10:18Z","updated_at":"2018-03-19T15:28:33Z","closed_at":"2018-03-19T15:28:33Z","merged_at":null,"merge_commit_sha":"97e85a64c9d98fe95185bb584a5811f41461c4d2","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/QuantStack/xtensor/pulls/703/commits","review_comments_url":"https://api.github.com/repos/QuantStack/xtensor/pulls/703/comments","review_comment_url":"https://api.github.com/repos/QuantStack/xtensor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/QuantStack/xtensor/issues/703/comments","statuses_url":"https://api.github.com/repos/QuantStack/xtensor/statuses/be4fed0d7ba8b5356d8aa041c00f3d054a71cf2f","head":{"label":"ukoethe:simd_return_type_t","ref":"simd_return_type_t","sha":"be4fed0d7ba8b5356d8aa041c00f3d054a71cf2f","user":{"login":"ukoethe","id":897680,"avatar_url":"https://avatars2.githubusercontent.com/u/897680?v=4","gravatar_id":"","url":"https://api.github.com/users/ukoethe","html_url":"https://github.com/ukoethe","followers_url":"https://api.github.com/users/ukoethe/followers","following_url":"https://api.github.com/users/ukoethe/following{/other_user}","gists_url":"https://api.github.com/users/ukoethe/gists{/gist_id}","starred_url":"https://api.github.com/users/ukoethe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukoethe/subscriptions","organizations_url":"https://api.github.com/users/ukoethe/orgs","repos_url":"https://api.github.com/users/ukoethe/repos","events_url":"https://api.github.com/users/ukoethe/events{/privacy}","received_events_url":"https://api.github.com/users/ukoethe/received_events","type":"User","site_admin":false},"repo":{"id":98645580,"name":"xtensor","full_name":"ukoethe/xtensor","owner":{"login":"ukoethe","id":897680,"avatar_url":"https://avatars2.githubusercontent.com/u/897680?v=4","gravatar_id":"","url":"https://api.github.com/users/ukoethe","html_url":"https://github.com/ukoethe","followers_url":"https://api.github.com/users/ukoethe/followers","following_url":"https://api.github.com/users/ukoethe/following{/other_user}","gists_url":"https://api.github.com/users/ukoethe/gists{/gist_id}","starred_url":"https://api.github.com/users/ukoethe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ukoethe/subscriptions","organizations_url":"https://api.github.com/users/ukoethe/orgs","repos_url":"https://api.github.com/users/ukoethe/repos","events_url":"https://api.github.com/users/ukoethe/events{/privacy}","received_events_url":"https://api.github.com/users/ukoethe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ukoethe/xtensor","description":"Multi-dimensional arrays with broadcasting and lazy computing","fork":true,"url":"https://api.github.com/repos/ukoethe/xtensor","forks_url":"https://api.github.com/repos/ukoethe/xtensor/forks","keys_url":"https://api.github.com/repos/ukoethe/xtensor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ukoethe/xtensor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ukoethe/xtensor/teams","hooks_url":"https://api.github.com/repos/ukoethe/xtensor/hooks","issue_events_url":"https://api.github.com/repos/ukoethe/xtensor/issues/events{/number}","events_url":"https://api.github.com/repos/ukoethe/xtensor/events","assignees_url":"https://api.github.com/repos/ukoethe/xtensor/assignees{/user}","branches_url":"https://api.github.com/repos/ukoethe/xtensor/branches{/branch}","tags_url":"https://api.github.com/repos/ukoethe/xtensor/tags","blobs_url":"https://api.github.com/repos/ukoethe/xtensor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ukoethe/xtensor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ukoethe/xtensor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ukoethe/xtensor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ukoethe/xtensor/statuses/{sha}","languages_url":"https://api.github.com/repos/ukoethe/xtensor/languages","stargazers_url":"https://api.github.com/repos/ukoethe/xtensor/stargazers","contributors_url":"https://api.github.com/repos/ukoethe/xtensor/contributors","subscribers_url":"https://api.github.com/repos/ukoethe/xtensor/subscribers","subscription_url":"https://api.github.com/repos/ukoethe/xtensor/subscription","commits_url":"https://api.github.com/repos/ukoethe/xtensor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ukoethe/xtensor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ukoethe/xtensor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ukoethe/xtensor/issues/comments{/number}","contents_url":"https://api.github.com/repos/ukoethe/xtensor/contents/{+path}","compare_url":"https://api.github.com/repos/ukoethe/xtensor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ukoethe/xtensor/merges","archive_url":"https://api.github.com/repos/ukoethe/xtensor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ukoethe/xtensor/downloads","issues_url":"https://api.github.com/repos/ukoethe/xtensor/issues{/number}","pulls_url":"https://api.github.com/repos/ukoethe/xtensor/pulls{/number}","milestones_url":"https://api.github.com/repos/ukoethe/xtensor/milestones{/number}","notifications_url":"https://api.github.com/repos/ukoethe/xtensor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ukoethe/xtensor/labels{/name}","releases_url":"https://api.github.com/repos/ukoethe/xtensor/releases{/id}","deployments_url":"https://api.github.com/repos/ukoethe/xtensor/deployments","created_at":"2017-07-28T12:02:02Z","updated_at":"2017-07-28T12:02:04Z","pushed_at":"2018-03-18T23:04:51Z","git_url":"git://github.com/ukoethe/xtensor.git","ssh_url":"git@github.com:ukoethe/xtensor.git","clone_url":"https://github.com/ukoethe/xtensor.git","svn_url":"https://github.com/ukoethe/xtensor","homepage":"http://quantstack.net/xtensor","size":3367,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"QuantStack:master","ref":"master","sha":"ebc88290507bfbe95ec288ee48be6dda59d89c86","user":{"login":"QuantStack","id":19627246,"avatar_url":"https://avatars1.githubusercontent.com/u/19627246?v=4","gravatar_id":"","url":"https://api.github.com/users/QuantStack","html_url":"https://github.com/QuantStack","followers_url":"https://api.github.com/users/QuantStack/followers","following_url":"https://api.github.com/users/QuantStack/following{/other_user}","gists_url":"https://api.github.com/users/QuantStack/gists{/gist_id}","starred_url":"https://api.github.com/users/QuantStack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuantStack/subscriptions","organizations_url":"https://api.github.com/users/QuantStack/orgs","repos_url":"https://api.github.com/users/QuantStack/repos","events_url":"https://api.github.com/users/QuantStack/events{/privacy}","received_events_url":"https://api.github.com/users/QuantStack/received_events","type":"Organization","site_admin":false},"repo":{"id":72343220,"name":"xtensor","full_name":"QuantStack/xtensor","owner":{"login":"QuantStack","id":19627246,"avatar_url":"https://avatars1.githubusercontent.com/u/19627246?v=4","gravatar_id":"","url":"https://api.github.com/users/QuantStack","html_url":"https://github.com/QuantStack","followers_url":"https://api.github.com/users/QuantStack/followers","following_url":"https://api.github.com/users/QuantStack/following{/other_user}","gists_url":"https://api.github.com/users/QuantStack/gists{/gist_id}","starred_url":"https://api.github.com/users/QuantStack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuantStack/subscriptions","organizations_url":"https://api.github.com/users/QuantStack/orgs","repos_url":"https://api.github.com/users/QuantStack/repos","events_url":"https://api.github.com/users/QuantStack/events{/privacy}","received_events_url":"https://api.github.com/users/QuantStack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/QuantStack/xtensor","description":"Multi-dimensional arrays with broadcasting and lazy computing","fork":false,"url":"https://api.github.com/repos/QuantStack/xtensor","forks_url":"https://api.github.com/repos/QuantStack/xtensor/forks","keys_url":"https://api.github.com/repos/QuantStack/xtensor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QuantStack/xtensor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QuantStack/xtensor/teams","hooks_url":"https://api.github.com/repos/QuantStack/xtensor/hooks","issue_events_url":"https://api.github.com/repos/QuantStack/xtensor/issues/events{/number}","events_url":"https://api.github.com/repos/QuantStack/xtensor/events","assignees_url":"https://api.github.com/repos/QuantStack/xtensor/assignees{/user}","branches_url":"https://api.github.com/repos/QuantStack/xtensor/branches{/branch}","tags_url":"https://api.github.com/repos/QuantStack/xtensor/tags","blobs_url":"https://api.github.com/repos/QuantStack/xtensor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QuantStack/xtensor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QuantStack/xtensor/git/refs{/sha}","trees_url":"https://api.github.com/repos/QuantStack/xtensor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QuantStack/xtensor/statuses/{sha}","languages_url":"https://api.github.com/repos/QuantStack/xtensor/languages","stargazers_url":"https://api.github.com/repos/QuantStack/xtensor/stargazers","contributors_url":"https://api.github.com/repos/QuantStack/xtensor/contributors","subscribers_url":"https://api.github.com/repos/QuantStack/xtensor/subscribers","subscription_url":"https://api.github.com/repos/QuantStack/xtensor/subscription","commits_url":"https://api.github.com/repos/QuantStack/xtensor/commits{/sha}","git_commits_url":"https://api.github.com/repos/QuantStack/xtensor/git/commits{/sha}","comments_url":"https://api.github.com/repos/QuantStack/xtensor/comments{/number}","issue_comment_url":"https://api.github.com/repos/QuantStack/xtensor/issues/comments{/number}","contents_url":"https://api.github.com/repos/QuantStack/xtensor/contents/{+path}","compare_url":"https://api.github.com/repos/QuantStack/xtensor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QuantStack/xtensor/merges","archive_url":"https://api.github.com/repos/QuantStack/xtensor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QuantStack/xtensor/downloads","issues_url":"https://api.github.com/repos/QuantStack/xtensor/issues{/number}","pulls_url":"https://api.github.com/repos/QuantStack/xtensor/pulls{/number}","milestones_url":"https://api.github.com/repos/QuantStack/xtensor/milestones{/number}","notifications_url":"https://api.github.com/repos/QuantStack/xtensor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QuantStack/xtensor/labels{/name}","releases_url":"https://api.github.com/repos/QuantStack/xtensor/releases{/id}","deployments_url":"https://api.github.com/repos/QuantStack/xtensor/deployments","created_at":"2016-10-30T10:40:13Z","updated_at":"2018-03-19T15:27:24Z","pushed_at":"2018-03-19T15:27:21Z","git_url":"git://github.com/QuantStack/xtensor.git","ssh_url":"git@github.com:QuantStack/xtensor.git","clone_url":"https://github.com/QuantStack/xtensor.git","svn_url":"https://github.com/QuantStack/xtensor","homepage":"http://quantstack.net/xtensor","size":3167,"stargazers_count":584,"watchers_count":584,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":71,"open_issues":45,"watchers":584,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/QuantStack/xtensor/pulls/703"},"html":{"href":"https://github.com/QuantStack/xtensor/pull/703"},"issue":{"href":"https://api.github.com/repos/QuantStack/xtensor/issues/703"},"comments":{"href":"https://api.github.com/repos/QuantStack/xtensor/issues/703/comments"},"review_comments":{"href":"https://api.github.com/repos/QuantStack/xtensor/pulls/703/comments"},"review_comment":{"href":"https://api.github.com/repos/QuantStack/xtensor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/QuantStack/xtensor/pulls/703/commits"},"statuses":{"href":"https://api.github.com/repos/QuantStack/xtensor/statuses/be4fed0d7ba8b5356d8aa041c00f3d054a71cf2f"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":14,"deletions":4,"changed_files":2}}
{"actor":{"display_login":"JohanMabille"}}