cmath rather than math.h
parent
5fd04188e4
commit
105041ae01
|
@ -21,8 +21,8 @@
|
|||
* @Author: Alex Cunningham
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <math.h>
|
||||
#include <gtsam/slam/PriorFactor.h>
|
||||
#include <gtsam/geometry/Rot2.h>
|
||||
#include <gtsam/linear/NoiseModel.h>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
* Description: Dense QR, inspired by Tim Davis's dense solver
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
#include <iostream>
|
||||
|
|
|
@ -14,10 +14,9 @@
|
|||
* @brief 3D Point
|
||||
*/
|
||||
|
||||
#include <cmath>
|
||||
#include <gtsam/geometry/Point3.h>
|
||||
#include <gtsam/base/Lie-inl.h>
|
||||
#include <math.h>
|
||||
|
||||
|
||||
namespace gtsam {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
#include <gtsam/geometry/tensors.h>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* @brief Unit tests for Pose3 class
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <CppUnitLite/TestHarness.h>
|
||||
#include <gtsam/base/numericalDerivative.h>
|
||||
#include <gtsam/base/lieProxies.h>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* based on testVSLAMFactor.cpp
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
#include <CppUnitLite/TestHarness.h>
|
||||
|
|
Loading…
Reference in New Issue