{"action":"opened","issue":{"url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/71","labels_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/71/comments","events_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/71/events","html_url":"https://github.com/deeplearning4j/nd4j/issues/71","id":69892634,"number":71,"title":"put(row,column,value) do not work for a row vector, only for column vector","user":{"login":"c0der1337","id":6539636,"avatar_url":"https://avatars.githubusercontent.com/u/6539636?v=3","gravatar_id":"","url":"https://api.github.com/users/c0der1337","html_url":"https://github.com/c0der1337","followers_url":"https://api.github.com/users/c0der1337/followers","following_url":"https://api.github.com/users/c0der1337/following{/other_user}","gists_url":"https://api.github.com/users/c0der1337/gists{/gist_id}","starred_url":"https://api.github.com/users/c0der1337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0der1337/subscriptions","organizations_url":"https://api.github.com/users/c0der1337/orgs","repos_url":"https://api.github.com/users/c0der1337/repos","events_url":"https://api.github.com/users/c0der1337/events{/privacy}","received_events_url":"https://api.github.com/users/c0der1337/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-21T16:28:24Z","updated_at":"2015-04-21T16:28:24Z","closed_at":null,"body":"After a lot of debugging I found the error, there is a issue with put function\r\n\r\nCode with the bug:\r\n  INDArray a = Nd4j.zeros(1,4);\r\n            a.put(0,0, 5F);\r\n            a.put(0,1, 2F);\r\n            a.put(0,2, 3F);\r\n            a.put(0,3, 4F);\r\n           \r\n            System.out.println(\"test: \"+a);\r\n\r\n\r\n   Output test: [4.0, 0.0, 0.0, 0.0]\r\n\r\n\r\nI expected: [5,2,3,4]\r\n\r\nWorkaround: When I use a row vector with Nd4j.zeros(4,1), the function works fine and \r\n"}}