]> www.ginac.de Git - ginac.git/blobdiff - ginac/polynomial/collect_vargs.cpp
Happy New Year!
[ginac.git] / ginac / polynomial / collect_vargs.cpp
index e77a3b6791427d16c6d27f83eda8fb474e28f6a7..ac1e6f4afc2c63e0e499b264ca1f0f1c8620956c 100644 (file)
@@ -3,7 +3,7 @@
  *  Utility functions. */
 
 /*
- *  GiNaC Copyright (C) 1999-2016 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2018 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
@@ -129,7 +129,7 @@ static void wipe_out_zeros(ex_collect_priv_t& m)
 {
        auto i = m.begin();
        while (i != m.end()) {
-               // be careful to not invalide iterator, use post-increment
+               // be careful to not invalidate the iterator, use post-increment
                // for that, see e.g.
                // http://coding.derkeiler.com/Archive/C_CPP/comp.lang.cpp/2004-02/0502.html
                if (i->second.is_zero())