Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid coercing integers to doubles when swapping for bubble sort.
score_ is partially initialized, and while ultimately the uninit elements are not used, coercing them to floating point generates uninit reports when run under drmemory. It's also unecessary, so I'm removing it. BUG=115326 R=jshin@chromium.org,timurrrr@chromium.org TEST=comact_lang_det_unittest_small.cc under drmemory Review URL: http://codereview.chromium.org/9465026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129050 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information