{"action":"created","issue":{"url":"https://api.github.com/repos/TRIQS/cthyb/issues/44","repository_url":"https://api.github.com/repos/TRIQS/cthyb","labels_url":"https://api.github.com/repos/TRIQS/cthyb/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/TRIQS/cthyb/issues/44/comments","events_url":"https://api.github.com/repos/TRIQS/cthyb/issues/44/events","html_url":"https://github.com/TRIQS/cthyb/issues/44","id":132440018,"number":44,"title":"partition_method = \"none\" does not work","user":{"login":"krivenko","id":1328321,"avatar_url":"https://avatars.githubusercontent.com/u/1328321?v=3","gravatar_id":"","url":"https://api.github.com/users/krivenko","html_url":"https://github.com/krivenko","followers_url":"https://api.github.com/users/krivenko/followers","following_url":"https://api.github.com/users/krivenko/following{/other_user}","gists_url":"https://api.github.com/users/krivenko/gists{/gist_id}","starred_url":"https://api.github.com/users/krivenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krivenko/subscriptions","organizations_url":"https://api.github.com/users/krivenko/orgs","repos_url":"https://api.github.com/users/krivenko/repos","events_url":"https://api.github.com/users/krivenko/events{/privacy}","received_events_url":"https://api.github.com/users/krivenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-09T14:53:12Z","updated_at":"2016-02-11T12:55:16Z","closed_at":null,"body":"`cthyb` throws an exception when I try to set the partition method to `none`.\r\n```\r\nTraceback (most recent call last):\r\n  File \"spin_mixing.py\", line 60, in <module>\r\n    S.solve(h_int=H, **p)\r\nRuntimeError: .. Error occurred at Tue Feb  9 15:04:41 2016\r\n\r\n.. Error .. calling C++ overload \r\n.. solve() -> void \r\n.. in implementation of method SolverCore.solve\r\n.. C++ error was : \r\n.. Triqs runtime error at /home/igor/Physics/TRIQS/cthyb.git/c++/atom_diag_worker.cpp : 361\r\n\r\nThe bare vacuum is not in a block of size 1 !\r\n.. Error occurred on node 0\r\n```\r\nIs there a good reason for this restriction? It implies that the total number of particles is a quantum number of `h_loc`, which is not necessarily the case."},"comment":{"url":"https://api.github.com/repos/TRIQS/cthyb/issues/comments/182850457","html_url":"https://github.com/TRIQS/cthyb/issues/44#issuecomment-182850457","issue_url":"https://api.github.com/repos/TRIQS/cthyb/issues/44","id":182850457,"user":{"login":"krivenko","id":1328321,"avatar_url":"https://avatars.githubusercontent.com/u/1328321?v=3","gravatar_id":"","url":"https://api.github.com/users/krivenko","html_url":"https://github.com/krivenko","followers_url":"https://api.github.com/users/krivenko/followers","following_url":"https://api.github.com/users/krivenko/following{/other_user}","gists_url":"https://api.github.com/users/krivenko/gists{/gist_id}","starred_url":"https://api.github.com/users/krivenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krivenko/subscriptions","organizations_url":"https://api.github.com/users/krivenko/orgs","repos_url":"https://api.github.com/users/krivenko/repos","events_url":"https://api.github.com/users/krivenko/events{/privacy}","received_events_url":"https://api.github.com/users/krivenko/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T12:55:16Z","updated_at":"2016-02-11T12:55:16Z","body":"> Perhaps the best thing is to check the diagonalisation a case in which N is not a good quantum number for a h_loc with known eigenstates, and remove the error.\r\n\r\nOk, I shall prepare such a test.\r\nWhen do you plan to upgrade the diagonalization part to the library, before 1.4 is released or after?"}}