[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-197-g59ec138
Jens Vollinga
git at ginac.de
Sun Aug 9 23:36:51 CEST 2009
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GiNaC -- a C++ library for symbolic computations".
The branch, master has been updated
via 59ec13895c97ffd74979a0b811a7571f6de56386 (commit)
via 694f839947982f5b12b6c629d5bab522c801630d (commit)
via 526825bcee294cb20e37d8db6d5040ba0f8c428f (commit)
via 49a44f7d55ec0d6686d3c32c7081a07d10c93274 (commit)
via dda45abd8a2c408f8b3eb7959a10dfb2468ecc3a (commit)
from 619879b5bd86a99334affe1f05d17616cc2c1898 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 59ec13895c97ffd74979a0b811a7571f6de56386
Author: Alexei Sheplyakov <varg at metalica.kh.ua>
Date: Sat Aug 8 13:03:15 2009 +0300
modular_matrix: don't use STL iterators in {mul, sub}_col and friends.
Not using STL iterators makes the code simpler and cleaner. Also we don't
have to argue whether the standard ([lib.random.access.iterators]) imposes
any pre/post-condictions on operator+=.
commit 694f839947982f5b12b6c629d5bab522c801630d
Author: Alexei Sheplyakov <varg at metalica.kh.ua>
Date: Sat Aug 8 13:03:48 2009 +0300
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]).
commit 526825bcee294cb20e37d8db6d5040ba0f8c428f
Author: Alexei Sheplyakov <varg at metalica.kh.ua>
Date: Sat Aug 8 13:07:14 2009 +0300
symmetry::calchash(): be careful to not dereference past-the-end iterator.
commit 49a44f7d55ec0d6686d3c32c7081a07d10c93274
Author: Alexei Sheplyakov <varg at metalica.kh.ua>
Date: Sat Aug 8 13:06:36 2009 +0300
check_parameter_G: fix pontential increment of end().
Incrementing past-the-end iterator is not permitted by the standard, see
[lib.input.iterators].
commit dda45abd8a2c408f8b3eb7959a10dfb2468ecc3a
Author: Alexei Sheplyakov <varg at metalica.kh.ua>
Date: Sat Aug 8 13:02:47 2009 +0300
G_eval: fix incorrect use of STL iterator.
According to [lib.bidirectional.iterators] it's not OK to decrement
an iterator pointing to the beginning of the sequence. Fortunately random
access iterators provided by (current versions of) gcc/libstdc++ don't have
this silly limitation, so the code which works with pointers works with
iterators without any changes at all. However,
- there's no guarantee that the current behavior won't change in the future
- some non-GNU compilers are not that smart (i.e. the program segfaults
upon when decrementing beginning-of-the-sequence iterator).
-----------------------------------------------------------------------
Summary of changes:
ginac/factor.cpp | 60 +++++++++++++++++---------------------------
ginac/inifcns_nstdsums.cpp | 7 +++-
ginac/symmetry.cpp | 3 +-
ginac/utils.h | 24 +++++++++++++----
4 files changed, 48 insertions(+), 46 deletions(-)
hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations
More information about the GiNaC-devel
mailing list