← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4051: Replace math.h by cmath in includes.

 

------------------------------------------------------------
revno: 4051
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Wed 2014-07-02 20:26:05 +0200
message:
  Replace math.h by cmath in includes.
modified:
  lib/triangulation/TriaxialState.cpp
  pkg/common/SpatialQuickSortCollider.cpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'lib/triangulation/TriaxialState.cpp'
--- lib/triangulation/TriaxialState.cpp	2014-03-21 18:45:24 +0000
+++ lib/triangulation/TriaxialState.cpp	2014-07-02 18:26:05 +0000
@@ -9,7 +9,7 @@
 /// The info types that will be used and the namespace in which the types will be defined (a unique namespace with different info types would give name conflicts)
 
 #include "TriaxialState.h"
-#include <math.h>
+#include <cmath>
 #include<boost/iostreams/filtering_stream.hpp>
 #include<boost/iostreams/filter/bzip2.hpp>
 #include<boost/iostreams/device/file.hpp>

=== modified file 'pkg/common/SpatialQuickSortCollider.cpp'
--- pkg/common/SpatialQuickSortCollider.cpp	2014-02-03 11:21:42 +0000
+++ pkg/common/SpatialQuickSortCollider.cpp	2014-07-02 18:26:05 +0000
@@ -8,7 +8,7 @@
 #include "SpatialQuickSortCollider.hpp"
 #include <yade/core/Scene.hpp>
 #include <yade/core/BodyContainer.hpp>
-#include <math.h>
+#include <cmath>
 #include <algorithm>
 
 YADE_PLUGIN((SpatialQuickSortCollider));