commit | 11bf5ffb96f73a5da375628fb9a447527627496e | [log] [tgz] |
---|---|---|
author | Sameer Agarwal <sameeragarwal@google.com> | Thu Sep 19 10:12:30 2013 -0700 |
committer | Keir Mierle <mierle@gmail.com> | Thu Sep 19 22:46:29 2013 +0000 |
tree | 4de08ba7cf8f0358cf831c2f1649be28136d92c5 | |
parent | 4894a848b12b68bb9209542ab53965e77491bb9b [diff] |
Add RequireInitialization = 1 to NumTraits::Jet. Thanks to Nima Kevian for reporting this. Change-Id: I9c45f4cabc8d5ce246c2a6ebe102161c6a771df5
diff --git a/include/ceres/jet.h b/include/ceres/jet.h index 4d2a857..7907b98 100644 --- a/include/ceres/jet.h +++ b/include/ceres/jet.h
@@ -740,7 +740,8 @@ AddCost = 1, // For Jet types, multiplication is more expensive than addition. MulCost = 3, - HasFloatingPoint = 1 + HasFloatingPoint = 1, + RequireInitialization = 1 }; };