]> www.ginac.de Git - ginac.git/commit
symmetry::compare_same_type(): const-correctness fix
authorJan Rheinländer <jrheinlaender@gmx.de>
Mon, 20 Sep 2010 11:16:47 +0000 (11:16 +0000)
committerAlexei Sheplyakov <Alexei.Sheplyakov@gmail.com>
Fri, 26 Nov 2010 22:15:55 +0000 (00:15 +0200)
commitb134e8fa1b93b24c0f5916c96090f016d8a7c9d7
tree2affa18a98d79472e605706c09a4e64a34967a1f
parent6e732baec20112b44eb0ed53a2833567bfa8749e
symmetry::compare_same_type(): const-correctness fix

The method in question is const, therefore one should use const_iterator
to access indices. Some compilers (for instance, msvc) are very strict
about this, and won't accept (invalid) code using non-const iterator.
ginac/symmetry.cpp