X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fncmul.cpp;h=b64f580970db43ac2e712861607c27c6824febda;hp=b43ec9505c656e1be4e89dc232ddaa72d10f0ec2;hb=9e216f2fcbf44cdb56eef2eed383c300c7e97fb3;hpb=6c946d4c762f5a0d6a3b742f03556dd018d63886 diff --git a/ginac/ncmul.cpp b/ginac/ncmul.cpp index b43ec950..b64f5809 100644 --- a/ginac/ncmul.cpp +++ b/ginac/ncmul.cpp @@ -3,7 +3,7 @@ * Implementation of GiNaC's non-commutative products of expressions. */ /* - * GiNaC Copyright (C) 1999-2015 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2017 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -521,7 +521,7 @@ unsigned ncmul::return_type() const bool all_commutative = true; exvector::const_iterator noncommutative_element; // point to first found nc element - exvector::const_iterator i = seq.begin(), end = seq.end(); + auto i = seq.begin(), end = seq.end(); while (i != end) { unsigned rt = i->return_type(); if (rt == return_types::noncommutative_composite)