diff DEPENDENCIES/generic/include/boost/geometry/util/rational.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/geometry/util/rational.hpp	Fri Sep 04 12:01:02 2015 +0100
+++ b/DEPENDENCIES/generic/include/boost/geometry/util/rational.hpp	Mon Sep 07 11:12:49 2015 +0100
@@ -21,11 +21,11 @@
 #include <boost/geometry/util/select_most_precise.hpp>
 
 
-namespace boost{ namespace geometry 
-{ 
+namespace boost{ namespace geometry
+{
 
 
-// Specialize for Boost.Geometry's coordinate cast 
+// Specialize for Boost.Geometry's coordinate cast
 // (from string to coordinate type)
 namespace detail
 {
@@ -70,7 +70,7 @@
             }
             split_parts(source, p, before, after, negate, len);
 
-            return negate 
+            return negate
                 ? -rational<T>(before, after)
                 : rational<T>(before, after)
                 ;
@@ -85,7 +85,7 @@
             den *= 10;
         }
 
-        return negate 
+        return negate
             ? -rational<T>(before) - rational<T>(after, den)
             : rational<T>(before) + rational<T>(after, den)
             ;
@@ -115,19 +115,19 @@
 
 
 // Specializes boost::rational to boost::numeric::bounds
-namespace boost { namespace numeric 
+namespace boost { namespace numeric
 {
 
 template<class T>
 struct bounds<rational<T> >
 {
-    static inline rational<T> lowest() 
-    { 
-        return rational<T>(bounds<T>::lowest(), 1); 
+    static inline rational<T> lowest()
+    {
+        return rational<T>(bounds<T>::lowest(), 1);
     }
-    static inline rational<T> highest() 
-    { 
-        return rational<T>(bounds<T>::highest(), 1); 
+    static inline rational<T> highest()
+    {
+        return rational<T>(bounds<T>::highest(), 1);
     }
 };