jazz/09-09-01: multiboost-0.71.patch

File multiboost-0.71.patch, 1.7 KB (added by jazz, 15 years ago)
  • src/IO/ClassMappings.cpp

    diff -Naur MultiBoost/src/IO/ClassMappings.cpp MultiBoost.new/src/IO/ClassMappings.cpp
    old new  
    2525#include "Defaults.h" // for MB_DEBUG
    2626#include <fstream> // for ifstream
    2727#include <iostream> // for cerr
     28#include <cstdlib>  // for exit
    2829
    2930//////////////////////////////////////////////////////////////////////////////////////////////
    3031//////////////////////////////////////////////////////////////////////////////////////////////
  • src/Utils/Args.cpp

    diff -Naur MultiBoost/src/Utils/Args.cpp MultiBoost.new/src/Utils/Args.cpp
    old new  
    1919*/
    2020
    2121#include "Args.h"
     22#include <cstdlib>  // for exit
    2223
    2324namespace nor_utils {
    2425
  • src/WeakLearners/MultiStumpLearner.h

    diff -Naur MultiBoost/src/WeakLearners/MultiStumpLearner.h MultiBoost.new/src/WeakLearners/MultiStumpLearner.h
    old new  
    3636#include <vector>
    3737#include <fstream>
    3838#include <cassert>
     39#include <limits> // for numeric_limits
    3940
    4041using namespace std;
    4142
  • src/WeakLearners/SingleStumpLearner.h

    diff -Naur MultiBoost/src/WeakLearners/SingleStumpLearner.h MultiBoost.new/src/WeakLearners/SingleStumpLearner.h
    old new  
    3636#include <vector>
    3737#include <fstream>
    3838#include <cassert>
     39#include <limits> // for numeric_limits
    3940
    4041using namespace std;
    4142