)]}'
{
  "commit": "8e9cc5b10a16dde87c65e9e9c4471095f78e11d4",
  "tree": "df2c2dc47ceb10396c1428e21068c88e903530e0",
  "parents": [
    "9175f50d6f88bd38789f2a9c6d4f0bfe1b8b6b37"
  ],
  "author": {
    "name": "Antonio Sanchez",
    "email": "cantonios@google.com",
    "time": "Mon Nov 16 10:39:09 2020 -0800"
  },
  "committer": {
    "name": "Antonio Sanchez",
    "email": "cantonios@google.com",
    "time": "Mon Nov 16 10:39:09 2020 -0800"
  },
  "message": "Eliminate double-promotion warnings.\n\nClang currently complains about implicit conversions, e.g.\n```\ntest/packetmath.cpp:680:59: warning: implicit conversion increases floating-point precision: \u0027typename Eigen::internal::random_retval\u003ctypename Eigen::internal::global_math_functions_filtering_base\u003cdouble\u003e::type\u003e::type\u0027 (aka \u0027double\u0027) to \u0027long double\u0027 [-Wdouble-promotion]\n          data1[0] \u003d Scalar((2 * k + k1) * EIGEN_PI / 2 * internal::random\u003cdouble\u003e(0.8, 1.2));\n                                                        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\ntest/packetmath.cpp:681:40: warning: implicit conversion increases floating-point precision: \u0027float\u0027 to \u0027long double\u0027 [-Wdouble-promotion]\n          data1[1] \u003d Scalar((2 * k + 2 + k1) * EIGEN_PI / 2 * internal::random\u003cdouble\u003e(0.8, 1.2));\n```\n\nModified to explicitly cast to double.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "eabf69c62dd50f467589711c2e6f9cee5efcf837",
      "old_mode": 33188,
      "old_path": "test/packetmath.cpp",
      "new_id": "81425b866e44a0e8413cbf4d45aacb439fcd68a0",
      "new_mode": 33188,
      "new_path": "test/packetmath.cpp"
    }
  ]
}
