diff options
| author | Guillaume Pinot <texitoi@texitoi.eu> | 2014-03-08 16:56:07 +0100 |
|---|---|---|
| committer | Guillaume Pinot <texitoi@texitoi.eu> | 2014-03-11 08:44:32 +0100 |
| commit | 7956a11df60e7fb610165da79b5f0e45175c9af5 (patch) | |
| tree | 379eda31bce6624953ff0629f2ff5e7b85f1727e /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | 33768c46ec980a911284d77804e5e45ead6530eb (diff) | |
| download | rust-7956a11df60e7fb610165da79b5f0e45175c9af5.tar.gz rust-7956a11df60e7fb610165da79b5f0e45175c9af5.zip | |
fix a bug in shootout-reverse-complement, official tests should pass with it
In the "reverse-complement" loop, if there is an odd number of element, we forget to complement the element in the middle. For example, if the input is "ggg", the result before the fix is "CgC" instead of "CCC". This is because of this bug that the official shootout says that the rust version is in "Bad Output". This commit should fix this error.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
