[mlpack-svn] [MLPACK] #325: make claims multiple declaration of LRSDP

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Fri Feb 7 12:49:02 EST 2014


#325: make claims multiple declaration of LRSDP
--------------------+-------------------------------------------------------
 Reporter:  birm    |        Owner:     
     Type:  defect  |       Status:  new
 Priority:  minor   |    Milestone:     
Component:  mlpack  |     Keywords:     
 Blocking:          |   Blocked By:     
--------------------+-------------------------------------------------------
 == Input ==

 ----
   arma::mat c(40, 40);
   c.randn();
   const size_t b=3;
   mlpack::optimization::LRSDP d(b,c);
 == Output: ==

 ----
 CMakeFiles/mlpack_test.dir/to_string_test.cpp.o: In function
 `mlpack::optimization::AugLagrangianFunction<mlpack::optimization::LRSDP>::Evaluate(arma::Mat<double>
 const&) const':
 /scratch/strings/trunk/src/mlpack/../mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp:22:
 multiple definition of
 `mlpack::optimization::AugLagrangianFunction<mlpack::optimization::LRSDP>::Evaluate(arma::Mat<double>
 const&) const'
 CMakeFiles/mlpack_test.dir/lrsdp_test.cpp.o:/scratch/strings/trunk/src/mlpack/../mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp:22:
 first defined here
 CMakeFiles/mlpack_test.dir/to_string_test.cpp.o: In function
 `mlpack::optimization::AugLagrangianFunction<mlpack::optimization::LRSDP>::Gradient(arma::Mat<double>
 const&, arma::Mat<double>&) const':
 /scratch/strings/trunk/src/mlpack/../mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp:62:
 multiple definition of
 `mlpack::optimization::AugLagrangianFunction<mlpack::optimization::LRSDP>::Gradient(arma::Mat<double>
 const&, arma::Mat<double>&) const'
 CMakeFiles/mlpack_test.dir/lrsdp_test.cpp.o:/scratch/strings/trunk/src/mlpack/../mlpack/core/optimizers/lrsdp/lrsdp_impl.hpp:62:
 first defined here
 collect2: ld returned 1 exit status

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


More information about the mlpack-svn mailing list