{"action":"created","issue":{"url":"https://api.github.com/repos/ndarray/Boost.NumPy/issues/66","repository_url":"https://api.github.com/repos/ndarray/Boost.NumPy","labels_url":"https://api.github.com/repos/ndarray/Boost.NumPy/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/ndarray/Boost.NumPy/issues/66/comments","events_url":"https://api.github.com/repos/ndarray/Boost.NumPy/issues/66/events","html_url":"https://github.com/ndarray/Boost.NumPy/issues/66","id":162481445,"number":66,"title":"vector has become more fragile","user":{"login":"nbecker","id":117456,"avatar_url":"https://avatars.githubusercontent.com/u/117456?v=3","gravatar_id":"","url":"https://api.github.com/users/nbecker","html_url":"https://github.com/nbecker","followers_url":"https://api.github.com/users/nbecker/followers","following_url":"https://api.github.com/users/nbecker/following{/other_user}","gists_url":"https://api.github.com/users/nbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/nbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbecker/subscriptions","organizations_url":"https://api.github.com/users/nbecker/orgs","repos_url":"https://api.github.com/users/nbecker/repos","events_url":"https://api.github.com/users/nbecker/events{/privacy}","received_events_url":"https://api.github.com/users/nbecker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-27T15:33:42Z","updated_at":"2016-06-27T15:51:56Z","closed_at":null,"body":"After pulling all recent updates, I'm having new problems related to type deduction (code that previously compiled now fails).  For example:\r\n-----\r\n  int BITS_PER_SYM = llr_mask.getShape()[1];\r\n  int n_syms = llr_mask.getShape()[0];\r\n  int syms_per_burst = intrlv_soft.getShape()[0]/BITS_PER_SYM;\r\n  auto shape = nd::makeVector (syms_per_burst, BITS_PER_SYM);\r\n  auto w = nd::Array<flt_t,2,2> (nd::external (intrlv_soft.getData(), shape, nd::ROW_MAJOR, intrlv_soft.getManager()));\r\n-----\r\n\r\n/home/nbecker/.local/include/ndarray/initialization.h:239:23: error: no matching function for call to 'computeStrides(const ndarray::Vector<int, 2>&, ndarray::DataOrderEnum&)'\r\nIn file included from /home/nbecker/.local/include/ndarray.h:21:0,\r\n                 from /home/nbecker/.local/include/ndarray/bp/Array.h:15,\r\n                 from /home/nbecker/.local/include/ndarray/bp/auto/Array.h:16,\r\n                 from /home/nbecker/.local/include/ndarray/bp/auto.h:14,\r\n                 from llr.cc:6:\r\n/home/nbecker/.local/include/ndarray/initialization.h:152:18: note: candidate: template<int N> ndarray::Vector<long int, M> ndarray::computeStrides(const ndarray::Vector<long unsigned int, M>&, ndarray::DataOrderEnum)\r\n Vector<Offset,N> computeStrides(Vector<Size,N> const & shape, DataOrderEnum order=ROW_MAJOR) {\r\n                  ^~~~~~~~~~~~~~\r\n/home/nbecker/.local/include/ndarray/initialization.h:152:18: note:   template argument deduction/substitution failed:\r\nIn file included from /home/nbecker/.local/include/ndarray.h:21:0,\r\n                 from /home/nbecker/.local/include/ndarray/bp/Array.h:15,\r\n                 from /home/nbecker/.local/include/ndarray/bp/auto/Array.h:16,\r\n                 from /home/nbecker/.local/include/ndarray/bp/auto.h:14,\r\n                 from llr.cc:6:\r\n/home/nbecker/.local/include/ndarray/initialization.h:239:23: note:   mismatched types 'long unsigned int' and 'int'\r\n         computeStrides(shape, order),\r\n"},"comment":{"url":"https://api.github.com/repos/ndarray/Boost.NumPy/issues/comments/228788016","html_url":"https://github.com/ndarray/Boost.NumPy/issues/66#issuecomment-228788016","issue_url":"https://api.github.com/repos/ndarray/Boost.NumPy/issues/66","id":228788016,"user":{"login":"TallJimbo","id":1330720,"avatar_url":"https://avatars.githubusercontent.com/u/1330720?v=3","gravatar_id":"","url":"https://api.github.com/users/TallJimbo","html_url":"https://github.com/TallJimbo","followers_url":"https://api.github.com/users/TallJimbo/followers","following_url":"https://api.github.com/users/TallJimbo/following{/other_user}","gists_url":"https://api.github.com/users/TallJimbo/gists{/gist_id}","starred_url":"https://api.github.com/users/TallJimbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TallJimbo/subscriptions","organizations_url":"https://api.github.com/users/TallJimbo/orgs","repos_url":"https://api.github.com/users/TallJimbo/repos","events_url":"https://api.github.com/users/TallJimbo/events{/privacy}","received_events_url":"https://api.github.com/users/TallJimbo/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T15:51:56Z","updated_at":"2016-06-27T15:51:56Z","body":"Sorry, there was a typo that I corrected fast enough that I hoped you wouldn't notice, but I was wrong.  Please do `git pull --rebase` on the branch and try again."}}
{"actor":{"display_login":"TallJimbo"}}