You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
447 B
11 lines
447 B
--- a/beagle/include/beagle/RouletteT.hpp
|
|
+++ b/beagle/include/beagle/RouletteT.hpp
|
|
@@ -87,7 +87,7 @@
|
|
Beagle_StackTraceBeginM();
|
|
Beagle_AssertM(inWeight>=0.0);
|
|
if(VectorType::empty()==false) inWeight += VectorType::back().first;
|
|
- push_back(std::make_pair(inWeight,inValue));
|
|
+ this->push_back(std::make_pair(inWeight,inValue));
|
|
Beagle_StackTraceEndM("void RouletteT<T>::insert(const T& inValue, double inWeight)");
|
|
}
|