{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/9507","labels_url":"https://api.github.com/repos/sympy/sympy/issues/9507/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/9507/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/9507/events","html_url":"https://github.com/sympy/sympy/pull/9507","id":87271990,"number":9507,"title":"transpose(MatMul(<Symbol>, Matrix)) now works properly","user":{"login":"gxyd","id":7712241,"avatar_url":"https://avatars.githubusercontent.com/u/7712241?v=3","gravatar_id":"","url":"https://api.github.com/users/gxyd","html_url":"https://github.com/gxyd","followers_url":"https://api.github.com/users/gxyd/followers","following_url":"https://api.github.com/users/gxyd/following{/other_user}","gists_url":"https://api.github.com/users/gxyd/gists{/gist_id}","starred_url":"https://api.github.com/users/gxyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gxyd/subscriptions","organizations_url":"https://api.github.com/users/gxyd/orgs","repos_url":"https://api.github.com/users/gxyd/repos","events_url":"https://api.github.com/users/gxyd/events{/privacy}","received_events_url":"https://api.github.com/users/gxyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-11T09:15:21Z","updated_at":"2015-06-11T11:05:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sympy/sympy/pulls/9507","html_url":"https://github.com/sympy/sympy/pull/9507","diff_url":"https://github.com/sympy/sympy/pull/9507.diff","patch_url":"https://github.com/sympy/sympy/pull/9507.patch"},"body":"I am not sure if this is the fix. But it seems to be working for me, i guess.\r\n\r\nfixes issue #9503 \r\nPlease have a look"},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/111085577","html_url":"https://github.com/sympy/sympy/pull/9507#issuecomment-111085577","issue_url":"https://api.github.com/repos/sympy/sympy/issues/9507","id":111085577,"user":{"login":"gxyd","id":7712241,"avatar_url":"https://avatars.githubusercontent.com/u/7712241?v=3","gravatar_id":"","url":"https://api.github.com/users/gxyd","html_url":"https://github.com/gxyd","followers_url":"https://api.github.com/users/gxyd/followers","following_url":"https://api.github.com/users/gxyd/following{/other_user}","gists_url":"https://api.github.com/users/gxyd/gists{/gist_id}","starred_url":"https://api.github.com/users/gxyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gxyd/subscriptions","organizations_url":"https://api.github.com/users/gxyd/orgs","repos_url":"https://api.github.com/users/gxyd/repos","events_url":"https://api.github.com/users/gxyd/events{/privacy}","received_events_url":"https://api.github.com/users/gxyd/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T11:05:18Z","updated_at":"2015-06-11T11:05:18Z","body":"> A test to add:\r\nM1 = Matrix([[11, 12, 13], [21, 22, 23], [31, 32, 33], [41, 42, 43]])\r\nM2 = Matrix([[11, 21, 31, 41], [12, 22, 32, 42], [13, 23, 33, 43]])\r\nassert transpose(MatMul(M1, M2)) == MatMul(transpose(M2), transpose(M1))\r\n\r\nAbove `raises error`\r\nBut Following works\r\n```\r\n>>> assert transpose(MatMul(M1, M2)).doit() == MatMul(transpose(M2), transpose(M1)).doit()\r\n```"}}