[mlpack-svn] r16969 - mlpack/trunk/src/mlpack/core/util

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Aug 5 10:42:17 EDT 2014


Author: rcurtin
Date: Tue Aug  5 10:42:16 2014
New Revision: 16969

Log:
Remove duplicate declaration of ReadFile() to fix the failing build.


Modified:
   mlpack/trunk/src/mlpack/core/util/save_restore_utility.hpp

Modified: mlpack/trunk/src/mlpack/core/util/save_restore_utility.hpp
==============================================================================
--- mlpack/trunk/src/mlpack/core/util/save_restore_utility.hpp	(original)
+++ mlpack/trunk/src/mlpack/core/util/save_restore_utility.hpp	Tue Aug  5 10:42:16 2014
@@ -44,7 +44,7 @@
   void RecurseOnNodes(xmlNode* n);
 
  public:
-    
+
   SaveRestoreUtility() {}
   ~SaveRestoreUtility() { parameters.clear(); }
 
@@ -107,35 +107,34 @@
    * SaveParameter saves an arma::mat to the parameters map.
    */
   void SaveParameter(const arma::mat& mat, const std::string& name);
-    
+
   /**
    * SaveSubModel saves a SaveRestoreUtility to the children map.
    */
   void AddChild(SaveRestoreUtility& mn, const std::string& name);
-  
+
   /**
    * Return the children.
    */
   const std::map<std::string, SaveRestoreUtility> Children() const { return
     children; }
-  
+
   /**
    * Return modifiable copy of the children.
    */
   std::map<std::string, SaveRestoreUtility> Children() { return children; }
- 
+
  private:
   /**
   * WriteFile creates XML tree recursively.
   */
   void WriteFile(xmlNode* n);
-  
+
   /**
    * ReadFile reads an XML tree recursively.
    */
-  bool ReadFile(const std::string& filename);
   void ReadFile(xmlNode* n);
-    
+
 };
 
 //! Specialization for arma::vec.
@@ -149,7 +148,7 @@
                                        const std::string& name);
 
 
-    
+
 }; /* namespace util */
 }; /* namespace mlpack */
 



More information about the mlpack-svn mailing list