)]}'
{
  "commit": "be418a336cae5672111e0f6989e6d8d6c1fa24a6",
  "tree": "9d5f75fdeeac8cff4a600ecab181f721978cf028",
  "parents": [
    "974513a41ff1ddc671d3dc6aa09ce708bbe447da"
  ],
  "author": {
    "name": "Markus Moll",
    "email": "markus.moll@esat.kuleuven.be",
    "time": "Fri Feb 15 17:19:28 2013 +0100"
  },
  "committer": {
    "name": "Markus Moll",
    "email": "markus.moll@esat.kuleuven.be",
    "time": "Fri Feb 15 17:19:28 2013 +0100"
  },
  "message": "Fix evaluation of initial cost and corresponding test\n\nCommit f102a68e411d11b4864e17b69a2d781e9c2692ad seems to have introduced\na bug in both solver_impl.cc and solver_impl_test.cc\nsolver_impl_test showed 3 errors, where two were due to ceres NOT\nfailing when the test expected that, and one was due to the initial cost\nbeing wrong (-1 instead of 0.5)\nCeres now does not attempt to evaluate the initial cost if\noptions.return_initial_xxx is not set. It therefore did not fail in\nthe tests.\nIt also seems that the CERES_EVALUATE macro erroneously always sets\nfinal_cost, even when called with \u0027initial\u0027 as argument.\n\nChange-Id: Ia3c3eeb476e7023a3f80b201124010d6c67e9824\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a070ce68d06bc6e2e84a4b47d9b0727098ef8d07",
      "old_mode": 33188,
      "old_path": "internal/ceres/solver_impl.cc",
      "new_id": "475e71d07f4c9c6d9c065ef2ce6511378b1a0bc7",
      "new_mode": 33188,
      "new_path": "internal/ceres/solver_impl.cc"
    },
    {
      "type": "modify",
      "old_id": "d918a57949fc462240639c97984173226a791ffe",
      "old_mode": 33188,
      "old_path": "internal/ceres/solver_impl_test.cc",
      "new_id": "5cba7d753d5225f786f071311d76001817d60381",
      "new_mode": 33188,
      "new_path": "internal/ceres/solver_impl_test.cc"
    }
  ]
}
