commit | 6879bbbf7743ae4cd71ee3fe67dcac632a585339 | [log] [tgz] |
---|---|---|
author | Alex Stewart <alexs.mac@gmail.com> | Sun Nov 13 18:09:39 2016 +0000 |
committer | Alex Stewart <alexs.mac@gmail.com> | Sun Nov 13 18:09:39 2016 +0000 |
tree | 06ea5de77d164ca7cf3c5a7f5826768ae759277e | |
parent | 1b1209824d5ccc632a3ee9f195a1636ab0e8f899 [diff] |
Add MSVC-specific #define to expose math constants in <cmath>. - MSVC does not expose standard math constants, such as M_PI in <cmath> or <math.h> unless _USE_MATH_DEFINES is defined prior to their inclusion: https://msdn.microsoft.com/en-us/library/4hwaceh6.aspx. - Use CMake to ensure that this is #defined when both Ceres and the examples are compiled, even though it should only be an issue for the examples where M_PI is used. Change-Id: I67af75b100b8138a65514273d23bfe445d92652c
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.
Ceres development happens on Gerrit, including both repository hosting and code reviews. The GitHub Repository is a continuously updated mirror which is primarily meant for issue tracking. Please see our Contributing to Ceres Guide for more details.
The upstream Gerrit repository is
https://ceres-solver.googlesource.com/ceres-solver