{"action":"created","issue":{"url":"https://api.github.com/repos/osj1961/guava/issues/5","repository_url":"https://api.github.com/repos/osj1961/guava","labels_url":"https://api.github.com/repos/osj1961/guava/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/osj1961/guava/issues/5/comments","events_url":"https://api.github.com/repos/osj1961/guava/issues/5/events","html_url":"https://github.com/osj1961/guava/issues/5","id":125797664,"number":5,"title":"BCH decoding","user":{"login":"osj1961","id":4998487,"avatar_url":"https://avatars.githubusercontent.com/u/4998487?v=3","gravatar_id":"","url":"https://api.github.com/users/osj1961","html_url":"https://github.com/osj1961","followers_url":"https://api.github.com/users/osj1961/followers","following_url":"https://api.github.com/users/osj1961/following{/other_user}","gists_url":"https://api.github.com/users/osj1961/gists{/gist_id}","starred_url":"https://api.github.com/users/osj1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osj1961/subscriptions","organizations_url":"https://api.github.com/users/osj1961/orgs","repos_url":"https://api.github.com/users/osj1961/repos","events_url":"https://api.github.com/users/osj1961/events{/privacy}","received_events_url":"https://api.github.com/users/osj1961/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"osj1961","id":4998487,"avatar_url":"https://avatars.githubusercontent.com/u/4998487?v=3","gravatar_id":"","url":"https://api.github.com/users/osj1961","html_url":"https://github.com/osj1961","followers_url":"https://api.github.com/users/osj1961/followers","following_url":"https://api.github.com/users/osj1961/following{/other_user}","gists_url":"https://api.github.com/users/osj1961/gists{/gist_id}","starred_url":"https://api.github.com/users/osj1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osj1961/subscriptions","organizations_url":"https://api.github.com/users/osj1961/orgs","repos_url":"https://api.github.com/users/osj1961/repos","events_url":"https://api.github.com/users/osj1961/events{/privacy}","received_events_url":"https://api.github.com/users/osj1961/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-01-10T03:56:01Z","updated_at":"2016-02-11T12:43:54Z","closed_at":null,"body":"see email from Alex K"},"comment":{"url":"https://api.github.com/repos/osj1961/guava/issues/comments/182845688","html_url":"https://github.com/osj1961/guava/issues/5#issuecomment-182845688","issue_url":"https://api.github.com/repos/osj1961/guava/issues/5","id":182845688,"user":{"login":"alex-konovalov","id":5751387,"avatar_url":"https://avatars.githubusercontent.com/u/5751387?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-konovalov","html_url":"https://github.com/alex-konovalov","followers_url":"https://api.github.com/users/alex-konovalov/followers","following_url":"https://api.github.com/users/alex-konovalov/following{/other_user}","gists_url":"https://api.github.com/users/alex-konovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-konovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-konovalov/subscriptions","organizations_url":"https://api.github.com/users/alex-konovalov/orgs","repos_url":"https://api.github.com/users/alex-konovalov/repos","events_url":"https://api.github.com/users/alex-konovalov/events{/privacy}","received_events_url":"https://api.github.com/users/alex-konovalov/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T12:43:54Z","updated_at":"2016-02-11T12:43:54Z","body":"When I call\r\n```\r\nApplicableMethod(\\in,[c,C],\"all\");\r\n```\r\nit tells that is uses\r\n```\r\n#I  Method 55: ``in: for vector and free left module that is handled by a nice basis'', value: 33\r\n#I  Function Body:\r\nfunction ( v, V )\r\n    local  W, a;\r\n    W := NiceFreeLeftModule( V );\r\n    a := NiceVector( V, v );\r\n    if a = fail  then\r\n        return false;\r\n    elif IsZero( a )  then\r\n        return true;\r\n    else\r\n        return a in W and v = UglyVector( V, a );\r\n    fi;\r\n    return;\r\nend\r\n```\r\nbut when I call\r\n```\r\nApplicableMethod(\\in,[d,D],\"all\");\r\n```\r\nthere is something wrong with the family relation:\r\n```\r\ngap> ApplicableMethod(\\in,[d,D],\"all\");\r\n#I  Searching Method for in with 2 arguments:\r\n#I  Total: 98 entries\r\n#I  Method 1: ``in: for a ring element and a union of res.-cl. with fixed rep's (ResClasses)'', value: 1*SUM_FLAGS+14\r\n#I   - 1st argument needs [ \"IsMultiplicativeElement\" ]\r\n#I   - 2nd argument needs [ \"IsUnionOfResidueClassesWithFixedRepresentatives\" ]\r\n#I  Method 2: ``in: for an object, and a collection that contains the whole family'', value: 1*SUM_FLAGS+4\r\n#I   - 2nd argument needs [ \"IsWholeFamily\", \"Tester(IsWholeFamily)\" ]\r\n#I  Method 3: ``in: for wrong family relation'', value: 1*SUM_FLAGS+2\r\n#I  Function Body:\r\nfunction ( arg... )\r\n    <<kernel or compiled code>>\r\nendfunction( arg... ) ... end\r\ngap> PageSource(last);\r\nCannot locate source of kernel function RETURN_FALSE.\r\n```\r\nThis may point to the fact that `d` was not created in a proper way: this method for in says\r\n```\r\nInstallMethod( IN,\r\n    \"for wrong family relation\",\r\n    IsNotElmsColls,\r\n    [ IsObject, IsCollection ],\r\n    SUM_FLAGS, # can't do better\r\n    ReturnFalse );\r\n```\r\nand this means that the following returns true:\r\n```\r\nIsNotElmsColls := function ( F1, F2 )\r\n    return not HasElementsFamily( F2 )\r\n       or IsNotIdenticalObj( F1, ElementsFamily(F2) );\r\nend;\r\n```\r\nIndeed, we have\r\n```\r\ngap> FamilyObj(d);\r\nNewFamily( \"CodewordFamily\", [ 2645 ], [ 16, 17, 18, 38, 43, 57, 102, 105, 109, 113, 117, 121, 124, 140, 2645, 2707 ] )\r\ngap> ElementsFamily(FamilyObj(D));\r\nNewFamily( \"CollectionsFamily(...)\", [ 58 ], [ 57, 58, 102, 103, 106, 110, 114, 118, 121, 122, 124, 125, 128, 132, \r\n  136, 140, 148, 155, 158, 162, 200, 554, 555 ] )\r\n```\r\nwhile in the working example we have\r\n```\r\ngap> FamilyObj(c);\r\nNewFamily( \"CodewordFamily\", [ 2645 ], [ 16, 17, 18, 38, 43, 57, 102, 105, 109, 113, 117, 121, 124, \r\n  140, 2645, 2707 ] )\r\ngap> ElementsFamily(FamilyObj(C));\r\nNewFamily( \"CodewordFamily\", [ 2645 ], [ 16, 17, 18, 38, 43, 57, 102, 105, 109, 113, 117, 121, 124, \r\n  140, 2645, 2707 ] )\r\n```\r\n"}}