{"action":"created","issue":{"url":"https://api.github.com/repos/RobotLocomotion/eigen-pod/issues/2","labels_url":"https://api.github.com/repos/RobotLocomotion/eigen-pod/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/RobotLocomotion/eigen-pod/issues/2/comments","events_url":"https://api.github.com/repos/RobotLocomotion/eigen-pod/issues/2/events","html_url":"https://github.com/RobotLocomotion/eigen-pod/pull/2","id":108032059,"number":2,"title":"Patch AutoDiffScalar","user":{"login":"tkoolen","id":2585880,"avatar_url":"https://avatars.githubusercontent.com/u/2585880?v=3","gravatar_id":"","url":"https://api.github.com/users/tkoolen","html_url":"https://github.com/tkoolen","followers_url":"https://api.github.com/users/tkoolen/followers","following_url":"https://api.github.com/users/tkoolen/following{/other_user}","gists_url":"https://api.github.com/users/tkoolen/gists{/gist_id}","starred_url":"https://api.github.com/users/tkoolen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkoolen/subscriptions","organizations_url":"https://api.github.com/users/tkoolen/orgs","repos_url":"https://api.github.com/users/tkoolen/repos","events_url":"https://api.github.com/users/tkoolen/events{/privacy}","received_events_url":"https://api.github.com/users/tkoolen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-24T00:14:43Z","updated_at":"2015-09-24T00:46:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RobotLocomotion/eigen-pod/pulls/2","html_url":"https://github.com/RobotLocomotion/eigen-pod/pull/2","diff_url":"https://github.com/RobotLocomotion/eigen-pod/pull/2.diff","patch_url":"https://github.com/RobotLocomotion/eigen-pod/pull/2.patch"},"body":"This adds a patch step to the ExternalProject_Add call. The patch fixes some bugs in AutoDiffScalar:\r\n* [AutoDiffScalar atan2 function wrong](http://eigen.tuxfamily.org/bz/show_bug.cgi?id=702) - fixed in 2013; it's kind of strange that this isn't included in 3.2.5. It is included in their 3.3 alpha release though.\r\n* [Trying to compute AutoDiff Hessians results in an assertion error](http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1063) - was reported on a forum somewhere but never fixed. I reported the bug, but they haven't responded yet.\r\n* [AutoDiffScalar with fixed maximum size derivative type: certain operations don't work](http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1070) - I found the fix for this today and reported the bug.\r\n\r\nFor reference, I created the patch by running\r\n```\r\ndiff -Naur unsupported/Eigen/src/AutoDiff/AutoDiffScalar.h ~/Desktop/AutoDiffScalar.h > AutoDiffScalarPatch.patch\r\n```\r\nfrom the eigen root directory."},"comment":{"url":"https://api.github.com/repos/RobotLocomotion/eigen-pod/issues/comments/142770103","html_url":"https://github.com/RobotLocomotion/eigen-pod/pull/2#issuecomment-142770103","issue_url":"https://api.github.com/repos/RobotLocomotion/eigen-pod/issues/2","id":142770103,"user":{"login":"RussTedrake","id":6442292,"avatar_url":"https://avatars.githubusercontent.com/u/6442292?v=3","gravatar_id":"","url":"https://api.github.com/users/RussTedrake","html_url":"https://github.com/RussTedrake","followers_url":"https://api.github.com/users/RussTedrake/followers","following_url":"https://api.github.com/users/RussTedrake/following{/other_user}","gists_url":"https://api.github.com/users/RussTedrake/gists{/gist_id}","starred_url":"https://api.github.com/users/RussTedrake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussTedrake/subscriptions","organizations_url":"https://api.github.com/users/RussTedrake/orgs","repos_url":"https://api.github.com/users/RussTedrake/repos","events_url":"https://api.github.com/users/RussTedrake/events{/privacy}","received_events_url":"https://api.github.com/users/RussTedrake/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T00:46:27Z","updated_at":"2015-09-24T00:46:27Z","body":"that’s much better i think.  \n\n> On Sep 23, 2015, at 8:39 PM, Twan Koolen <notifications@github.com> wrote:\n> \n> OK, I can just copy the fixed version of AutoDiffScalar over using cmake -E copy.\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/RobotLocomotion/eigen-pod/pull/2#issuecomment-142769305>.\n> \n\n"}}