[mlpack-git] master: Fixes namespace braces (bac611f)

gitdub at mlpack.org gitdub at mlpack.org
Thu Jul 21 07:27:19 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/ba850f782a53c5a77b7985f7647f609bd96cb5e7...2c026d838925df436d967439899813da5d34c702

>---------------------------------------------------------------

commit bac611f3fddb54b08c4ca59c0ca34019de21778f
Author: Yannis Mentekidis <mentekid at gmail.com>
Date:   Thu Jul 21 12:27:19 2016 +0100

    Fixes namespace braces


>---------------------------------------------------------------

bac611f3fddb54b08c4ca59c0ca34019de21778f
 src/mlpack/core/boost_backport/detail/polygamma.hpp | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/src/mlpack/core/boost_backport/detail/polygamma.hpp b/src/mlpack/core/boost_backport/detail/polygamma.hpp
index 18c6d80..46092cf 100644
--- a/src/mlpack/core/boost_backport/detail/polygamma.hpp
+++ b/src/mlpack/core/boost_backport/detail/polygamma.hpp
@@ -28,7 +28,7 @@
   #include <boost/type_traits/is_convertible.hpp>
   
   // Forward declarations.
-  namespace boost {namespace math 
+  namespace boost { namespace math {
     
     // Forward declaration of boost::math::polygamma.
     template<class T, class Policy>
@@ -36,12 +36,13 @@
     template<class T>
     inline typename tools::promote_args<T>::type polygamma(const int n, T x);
     
-    
-    { namespace policies{
+    namespace policies{
       // Forward declaration of boost::math::policies::digits_base10.
       template <class T, class Policy>
       inline BOOST_MATH_CONSTEXPR int digits_base10(BOOST_MATH_EXPLICIT_TEMPLATE_TYPE(T)) BOOST_NOEXCEPT;
-  }}}
+    }
+
+  }}
   
 
 




More information about the mlpack-git mailing list