{"action":"closed","issue":{"url":"https://api.github.com/repos/dealii/dealii/issues/1990","labels_url":"https://api.github.com/repos/dealii/dealii/issues/1990/labels{/name}","comments_url":"https://api.github.com/repos/dealii/dealii/issues/1990/comments","events_url":"https://api.github.com/repos/dealii/dealii/issues/1990/events","html_url":"https://github.com/dealii/dealii/issues/1990","id":122722164,"number":1990,"title":"ShiftedMatrixGeneralized::vmult, ::residual do not work","user":{"login":"slazav","id":37889,"avatar_url":"https://avatars.githubusercontent.com/u/37889?v=3","gravatar_id":"","url":"https://api.github.com/users/slazav","html_url":"https://github.com/slazav","followers_url":"https://api.github.com/users/slazav/followers","following_url":"https://api.github.com/users/slazav/following{/other_user}","gists_url":"https://api.github.com/users/slazav/gists{/gist_id}","starred_url":"https://api.github.com/users/slazav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slazav/subscriptions","organizations_url":"https://api.github.com/users/slazav/orgs","repos_url":"https://api.github.com/users/slazav/repos","events_url":"https://api.github.com/users/slazav/events{/privacy}","received_events_url":"https://api.github.com/users/slazav/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-17T12:02:52Z","updated_at":"2015-12-18T17:05:35Z","closed_at":"2015-12-18T17:05:35Z","body":"Please, look here at implementation of vmult and residual in ShiftedMatrixGeneralized:\r\nhttps://github.com/dealii/dealii/blob/master/include/deal.II/lac/shifted_matrix.h#L242\r\n\r\nThere are two problems:\r\n\r\n1) these functions are declared as const, but they try to modify aux vector in the object.\r\nThis can be solved by declaring VECTOR aux just before lines 251, 268. (and removing the declaration in the line 150.)\r\n\r\n2) SmartPointer M should be called as M->, not M. in lines 252, 269.\r\n"}}