]> www.ginac.de Git - ginac.git/commit
shaker_sort, permutation_sign: fix invalid use of STL iterators.
authorAlexei Sheplyakov <varg@metalica.kh.ua>
Sat, 8 Aug 2009 10:03:48 +0000 (13:03 +0300)
committerJens Vollinga <jensv@nikhef.nl>
Sun, 9 Aug 2009 20:30:14 +0000 (22:30 +0200)
commit7f4a4ce46d799ba888b118dfdc8945c92a6c6d6f
tree9e6056fc2c7e627bf2e5696accb22d2b554d8952
parent4ddeb4c2a625a069d71b510aab3ae53138670470
shaker_sort, permutation_sign: fix invalid use of STL iterators.

According to the standard incrementing end(), and decrementing begin()
are ill-defined operations (see [lib.forward.iterators],
[lib.bidirectional.iterators]).
(cherry picked from commit 694f839947982f5b12b6c629d5bab522c801630d)
ginac/utils.h