Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Was being passed choices via value, not reference | Matthew Cline | 2009-11-15 | 1 | -1/+1 |
| | | | | | | Since the vector random_choose_weighted() used was copied, the pointer it returned became invalkid as soon as the function returned an the copied vector went out of scope. | ||||
* | Document random_choose_weighted. | Robert Vollmert | 2009-11-14 | 1 | -0/+6 |
| | |||||
* | Implement weighted choice from array. | Robert Vollmert | 2009-11-14 | 1 | -0/+22 |