]> www.ginac.de Git - ginac.git/blobdiff - ginac/utils.h
Finalize 1.7.6 release.
[ginac.git] / ginac / utils.h
index b92dc0bd671a5889e178edef16993eafcd2d322e..a6e28d74ef6026c83a1ab90a9502b39940b82c74 100644 (file)
@@ -4,7 +4,7 @@
  *  of any interest to the user of the library. */
 
 /*
- *  GiNaC Copyright (C) 1999-2018 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2019 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
@@ -342,6 +342,8 @@ public:
 
                        for (unsigned i = m - mpgen.m; i < m; ++i)
                                partition[i] = mpgen.x[i - m + mpgen.m + 1];
+
+                       current_updated = true;
                }
                return partition;
        }
@@ -375,6 +377,8 @@ public:
                if (!current_updated) {
                        for (unsigned i = 0; i < mpgen.m; ++i)
                                partition[i] = mpgen.x[i + 1];
+
+                       current_updated = true;
                }
                return partition;
        }