{"action":"created","issue":{"url":"https://api.github.com/repos/Macaulay2/M2/issues/347","labels_url":"https://api.github.com/repos/Macaulay2/M2/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/Macaulay2/M2/issues/347/comments","events_url":"https://api.github.com/repos/Macaulay2/M2/issues/347/events","html_url":"https://github.com/Macaulay2/M2/issues/347","id":113230668,"number":347,"title":"minPres bug","user":{"login":"pzinn","id":4632711,"avatar_url":"https://avatars.githubusercontent.com/u/4632711?v=3","gravatar_id":"","url":"https://api.github.com/users/pzinn","html_url":"https://github.com/pzinn","followers_url":"https://api.github.com/users/pzinn/followers","following_url":"https://api.github.com/users/pzinn/following{/other_user}","gists_url":"https://api.github.com/users/pzinn/gists{/gist_id}","starred_url":"https://api.github.com/users/pzinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzinn/subscriptions","organizations_url":"https://api.github.com/users/pzinn/orgs","repos_url":"https://api.github.com/users/pzinn/repos","events_url":"https://api.github.com/users/pzinn/events{/privacy}","received_events_url":"https://api.github.com/users/pzinn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mikestillman","id":102215,"avatar_url":"https://avatars.githubusercontent.com/u/102215?v=3","gravatar_id":"","url":"https://api.github.com/users/mikestillman","html_url":"https://github.com/mikestillman","followers_url":"https://api.github.com/users/mikestillman/followers","following_url":"https://api.github.com/users/mikestillman/following{/other_user}","gists_url":"https://api.github.com/users/mikestillman/gists{/gist_id}","starred_url":"https://api.github.com/users/mikestillman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikestillman/subscriptions","organizations_url":"https://api.github.com/users/mikestillman/orgs","repos_url":"https://api.github.com/users/mikestillman/repos","events_url":"https://api.github.com/users/mikestillman/events{/privacy}","received_events_url":"https://api.github.com/users/mikestillman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Macaulay2/M2/milestones/3","html_url":"https://github.com/Macaulay2/M2/milestones/version%201.9","labels_url":"https://api.github.com/repos/Macaulay2/M2/milestones/3/labels","id":1066030,"number":3,"title":"version 1.9","description":"","creator":{"login":"DanGrayson","id":700228,"avatar_url":"https://avatars.githubusercontent.com/u/700228?v=3","gravatar_id":"","url":"https://api.github.com/users/DanGrayson","html_url":"https://github.com/DanGrayson","followers_url":"https://api.github.com/users/DanGrayson/followers","following_url":"https://api.github.com/users/DanGrayson/following{/other_user}","gists_url":"https://api.github.com/users/DanGrayson/gists{/gist_id}","starred_url":"https://api.github.com/users/DanGrayson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanGrayson/subscriptions","organizations_url":"https://api.github.com/users/DanGrayson/orgs","repos_url":"https://api.github.com/users/DanGrayson/repos","events_url":"https://api.github.com/users/DanGrayson/events{/privacy}","received_events_url":"https://api.github.com/users/DanGrayson/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":6,"state":"open","created_at":"2015-04-13T22:46:46Z","updated_at":"2015-10-25T15:10:10Z","due_on":"2016-02-18T05:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-25T15:00:33Z","updated_at":"2015-10-25T16:21:30Z","closed_at":null,"body":"I may be going crazy, but there seems to be a bug with minPres. Sorry about the long example, there must be a shorter one I'm sure. Anyway the ideal below is actually ideal(x,y,z), as trim will show, but trying \r\n```\r\nminPres I\r\n```\r\nwill produce\r\n```\r\nstdio:7:1:(3): error: key not found in hash table\r\n```\r\n\r\n--------\r\n\r\n```\r\nR=QQ[x,y,z];\r\nI=ideal {26037185781611888053803981844062336*z,9264084868888584706422920457436045097105319764589241237356250598400000000*z,-2667547999071644957522642304*y,26037185781611888053803981844062336*y,-2667547999071644957522642304*x,26037185781611888053803981844062336*x,-23312896451112878141327358007527752137442064973636411828990305024*z^3+23312896451112878141327358007527752137442064973636411828990305024*x*y,z^3-x*y,1083473587707524518877321739687402952332131414784*z^3-1083473587707524518877321739687402952332131414784*x*y,-216694717541504903775464347937480590466426282956800*x^3-39005049157470882679583582628746506283956730932224*x^2*y-48756311446838603349479478285933132854945913665280*y^3-346711548066407846040742956699968944746282052730880*x^2*z,-200*x^3-36*x^2*y-45*y^3-320*x^2*z,4662579290222575628265471601505550427488412994727282365798061004800*x^3+839264272240063613087784888270999076947914339050910825843650980864*x^2*y+1049080340300079516359731110338748846184892923813638532304563726080*y^3+7460126864356121005224754562408880683981460791563651785276897607680*x^2*z,-47208615313503578236187899965243698078320181571613733953705367673600*x^4+932515858044515125653094320301110085497682598945456473159612200960000*x^2*z+335705708896025445235113955308399630779165735620364330337460392345600*x*y*z+30213513800642290071160255977755966770124916205832789730371435311104*y^2*z+2984050745742448402089901824963552273592584316625460714110759043072000*x*z^2+537129134233640712376182328493439409246665176992582928539936627752960*y*z^2+2387240596593958721671921459970841818874067453300368571288607234457600*z^3,2025*x^4-40000*x^2*z-14400*x*y*z-1296*y^2*z-128000*x*z^2-23040*y*z^2-102400*z^3,2194034015107737150726576522866990978472566114937600*x^4-43338943508300980755092869587496118093285256591360000*x^2*z-15602019662988353071833433051498602513582692372889600*x*y*z-1404181769668951776465008974634874226222442313560064*y^2*z-138684619226563138416297182679987577898512821092352000*x*z^2-24963231460781364914933492882397764021732307796623360*y*z^2-110947695381250510733037746143990062318810256873881600*z^3,-2124387689107661020628455498435966413524408170722618027916741545312000*x*y^2*z^2-186503171608903025130618864060222017099536519789091294631922440192000000*x^3-100711712668807633570534186592519889233749720686109299101238117703680000*x^2*y-18128108280385374042696153586653580062074949723499673838222861186662400*x*y^2-1087686496823122442561769215199214803724496983409980430293371671199744*y^3-895215223722734520626970547489065682077775294987638214233227712921600000*x^2*z-322277480540184427425709397096063645547999106195549757123961976651776000*x*y*z-29004973248616598468313845738645728099319919557599478141156577898659840*y^2*z-1432344357956375233003152875982505091324440471980221142773164340674560000*x*z^2-257821984432147541940567517676850916438399284956439805699169581321420800*y*z^2-763916990910066790935014867190669382039701585056117942812354315026432000*z^3};\r\n```"},"comment":{"url":"https://api.github.com/repos/Macaulay2/M2/issues/comments/150938599","html_url":"https://github.com/Macaulay2/M2/issues/347#issuecomment-150938599","issue_url":"https://api.github.com/repos/Macaulay2/M2/issues/347","id":150938599,"user":{"login":"mikestillman","id":102215,"avatar_url":"https://avatars.githubusercontent.com/u/102215?v=3","gravatar_id":"","url":"https://api.github.com/users/mikestillman","html_url":"https://github.com/mikestillman","followers_url":"https://api.github.com/users/mikestillman/followers","following_url":"https://api.github.com/users/mikestillman/following{/other_user}","gists_url":"https://api.github.com/users/mikestillman/gists{/gist_id}","starred_url":"https://api.github.com/users/mikestillman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikestillman/subscriptions","organizations_url":"https://api.github.com/users/mikestillman/orgs","repos_url":"https://api.github.com/users/mikestillman/repos","events_url":"https://api.github.com/users/mikestillman/events{/privacy}","received_events_url":"https://api.github.com/users/mikestillman/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T16:21:29Z","updated_at":"2015-10-25T16:21:29Z","body":"OK, I’ll take a look.\n\n> On Oct 25, 2015, at 11:09 AM, Daniel R. Grayson <notifications@github.com> wrote:\n> \n> Yes, it's a bug, thanks! You are not going crazy.\n> \n> Mike, it's because the ring element comparison routine rawRingElementCompare is\n> returning 4, instead of -1, 0, or 1.\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/Macaulay2/M2/issues/347#issuecomment-150933875>.\n> \n\n"}}