Further Jet conversion fixes

https://github.com/ceres-solver/ceres-solver/issues/965

Change-Id: Ib80467eda4120b0483814e9e01e9644dd7ee91a7
diff --git a/include/ceres/rotation.h b/include/ceres/rotation.h
index 0fa96b2..a518ec8 100644
--- a/include/ceres/rotation.h
+++ b/include/ceres/rotation.h
@@ -578,7 +578,7 @@
     } else {
       ea[0] = atan2(-R(j, k), R(j, j));
       ea[1] = atan2(sy, R(i, i));
-      ea[2] = 0.0;
+      ea[2] = T(0.0);
     }
   } else {
     const T cy = hypot(R(i, i), R(j, i));
@@ -589,7 +589,7 @@
     } else {
       ea[0] = atan2(-R(j, k), R(j, j));
       ea[1] = atan2(-R(k, i), cy);
-      ea[2] = 0.0;
+      ea[2] = T(0.0);
     }
   }
   if constexpr (EulerSystem::kIsParityOdd) {