{"action":"created","issue":{"url":"https://api.github.com/repos/TRIQS/hubbardI/issues/2","labels_url":"https://api.github.com/repos/TRIQS/hubbardI/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/TRIQS/hubbardI/issues/2/comments","events_url":"https://api.github.com/repos/TRIQS/hubbardI/issues/2/events","html_url":"https://github.com/TRIQS/hubbardI/issues/2","id":55483375,"number":2,"title":"there is no the definition of reduce_matrix.","user":{"login":"xiaoyukaka","id":10613848,"avatar_url":"https://avatars.githubusercontent.com/u/10613848?v=3","gravatar_id":"","url":"https://api.github.com/users/xiaoyukaka","html_url":"https://github.com/xiaoyukaka","followers_url":"https://api.github.com/users/xiaoyukaka/followers","following_url":"https://api.github.com/users/xiaoyukaka/following{/other_user}","gists_url":"https://api.github.com/users/xiaoyukaka/gists{/gist_id}","starred_url":"https://api.github.com/users/xiaoyukaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiaoyukaka/subscriptions","organizations_url":"https://api.github.com/users/xiaoyukaka/orgs","repos_url":"https://api.github.com/users/xiaoyukaka/repos","events_url":"https://api.github.com/users/xiaoyukaka/events{/privacy}","received_events_url":"https://api.github.com/users/xiaoyukaka/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-26T13:43:31Z","updated_at":"2015-02-11T12:17:07Z","closed_at":"2015-02-11T12:17:07Z","body":"Hi developers,\r\nWhen I test the example:Ce with Hubbard-I approximation, I try to run DFT+DMFT calculations by \"pytriqs Ce-gamma.py\". There is an error, as follows:\r\n\r\n.........\r\nDC energy for shell 0 = 0.00418670427203\r\nTraceback (most recent call last):\r\n  File \"Ce.py\", line 75, in <module>\r\n    S.solve(U_int=U, J_hund=J, T=None)\r\n  File \"path..../pytriqs/applications/impurity_solvers/hubbard_I/hubbard_solver.py\", line 88, in solve\r\n    ur,umn,ujmn=self.__set_umatrix(U=U_int,J=J_hund,T=T)\r\n  File \"path..../pytriqs/applications/impurity_solvers/hubbard_I/hubbard_solver.py\", line 257, in __set_umatrix\r\n    Umat.reduce_matrix()\r\nAttributeError: 'numpy.ndarray' object has no attribute 'reduce_matrix'\r\n\r\nI can not find the def of reduce_matrix. but the \"def reduce_4index_to_2index(U_4index)\" in U_matrix.py.   Need I replace it in hubbard_solver.py?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/TRIQS/hubbardI/issues/comments/73872338","html_url":"https://github.com/TRIQS/hubbardI/issues/2#issuecomment-73872338","issue_url":"https://api.github.com/repos/TRIQS/hubbardI/issues/2","id":73872338,"user":{"login":"pseth","id":3540347,"avatar_url":"https://avatars.githubusercontent.com/u/3540347?v=3","gravatar_id":"","url":"https://api.github.com/users/pseth","html_url":"https://github.com/pseth","followers_url":"https://api.github.com/users/pseth/followers","following_url":"https://api.github.com/users/pseth/following{/other_user}","gists_url":"https://api.github.com/users/pseth/gists{/gist_id}","starred_url":"https://api.github.com/users/pseth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pseth/subscriptions","organizations_url":"https://api.github.com/users/pseth/orgs","repos_url":"https://api.github.com/users/pseth/repos","events_url":"https://api.github.com/users/pseth/events{/privacy}","received_events_url":"https://api.github.com/users/pseth/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T12:17:06Z","updated_at":"2015-02-11T12:17:06Z","body":"I have fixed this."}}