[mlpack-svn] [MLPACK] #239: std::log errors in dtree.cpp

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Sun Aug 5 08:21:38 EDT 2012


#239: std::log errors in dtree.cpp
--------------------+-------------------------------------------------------
 Reporter:  Adam    |        Owner:     
     Type:  defect  |       Status:  new
 Priority:  minor   |    Milestone:     
Component:  mlpack  |     Keywords:     
 Blocking:          |   Blocked By:     
--------------------+-------------------------------------------------------
 With the latest svn version a load of errors are introduced in dtree.cpp,
 due to more than one instance of overloaded function with std::log, when
 using vs2010 / intel c++ compiler.

 error : more than one instance of overloaded function "std::log" matches
 the argument list:
 2>              function "log(long double)"
 2>              function "log(float)"
 2>              function "log(double)"
 2>              argument types are: (const size_t)
 2>            const double exponent = 2 * std::log(points) + logVolume +

 Obviously not a big error / fix (and made the changes in my local copy),
 just thought I would point it out.

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/239>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list