From f4d14c96e81fbca047de33839c866eb6a90305c3 Mon Sep 17 00:00:00 2001
From: Axel Kohlmeyer <akohlmey@gmail.com>
Date: Tue, 8 May 2018 00:29:56 -0400
Subject: [PATCH] convert poems lib to use c++-style header includes

---
 lib/poems/eulerparameters.cpp | 2 +-
 lib/poems/matrixfun.cpp       | 2 +-
 lib/poems/system.cpp          | 2 +-
 lib/poems/system.h            | 2 +-
 lib/poems/workspace.h         | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/poems/eulerparameters.cpp b/lib/poems/eulerparameters.cpp
index 61fcc5fcc2..032bc7da82 100644
--- a/lib/poems/eulerparameters.cpp
+++ b/lib/poems/eulerparameters.cpp
@@ -16,7 +16,7 @@
  *_________________________________________________________________________*/
 
 #include "eulerparameters.h"
-#include "math.h"
+#include <cmath>
 
 using namespace std;
 
diff --git a/lib/poems/matrixfun.cpp b/lib/poems/matrixfun.cpp
index 8478443645..d193114679 100644
--- a/lib/poems/matrixfun.cpp
+++ b/lib/poems/matrixfun.cpp
@@ -16,7 +16,7 @@
  *_________________________________________________________________________*/
 
 #include "matrixfun.h"
-#include <math.h>
+#include <cmath>
 #include "fastmatrixops.h"
 #include <cstdlib>
 
diff --git a/lib/poems/system.cpp b/lib/poems/system.cpp
index d3702a6440..369213f7d0 100644
--- a/lib/poems/system.cpp
+++ b/lib/poems/system.cpp
@@ -19,7 +19,7 @@
 #include "system.h"
 #include "body.h"
 #include "joint.h"
-#include <math.h>
+#include <cmath>
 
 
 System::System(){
diff --git a/lib/poems/system.h b/lib/poems/system.h
index 39c1f518b3..1b59395de7 100644
--- a/lib/poems/system.h
+++ b/lib/poems/system.h
@@ -23,7 +23,7 @@
 #include <iostream>
 #include <fstream>
 #include <string>
-#include <stdio.h>   
+#include <cstdio>   
 #include <iomanip>  
 
 #include "poemslist.h"
diff --git a/lib/poems/workspace.h b/lib/poems/workspace.h
index 83af077832..5faaf904dc 100644
--- a/lib/poems/workspace.h
+++ b/lib/poems/workspace.h
@@ -23,7 +23,7 @@
 #include <iostream>
 #include <fstream>
 #include <string>
-#include <stdio.h>   
+#include <cstdio>   
 #include <iomanip>  
 #include <vector>
 
-- 
GitLab