beagle-3.0.3-gcc47.patch 447 B

1234567891011
  1. --- a/beagle/include/beagle/RouletteT.hpp
  2. +++ b/beagle/include/beagle/RouletteT.hpp
  3. @@ -87,7 +87,7 @@
  4. Beagle_StackTraceBeginM();
  5. Beagle_AssertM(inWeight>=0.0);
  6. if(VectorType::empty()==false) inWeight += VectorType::back().first;
  7. - push_back(std::make_pair(inWeight,inValue));
  8. + this->push_back(std::make_pair(inWeight,inValue));
  9. Beagle_StackTraceEndM("void RouletteT<T>::insert(const T& inValue, double inWeight)");
  10. }