]> 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:16:25 +0000 (22:16 +0200)
commit694f839947982f5b12b6c629d5bab522c801630d
treea52bc607428872916c86608de4a054fbfc80a928
parent526825bcee294cb20e37d8db6d5040ba0f8c428f
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]).
ginac/utils.h