From: Wolfgang Bangerth Date: Fri, 7 Jan 2022 21:37:52 +0000 (-0700) Subject: Do not output the partitioner when pretty-printing Vector objects. X-Git-Tag: v9.4.0-rc1~635^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F13201%2Fhead;p=dealii.git Do not output the partitioner when pretty-printing Vector objects. --- diff --git a/contrib/utilities/dotgdbinit.py b/contrib/utilities/dotgdbinit.py index 9dba301384..4bcecd1247 100644 --- a/contrib/utilities/dotgdbinit.py +++ b/contrib/utilities/dotgdbinit.py @@ -130,14 +130,10 @@ class VectorPrinter(object): self.begin = gdb.parse_and_eval(eval_string); self.length = int(self.end - self.begin ) - def children(self): - return (("values", self.val['values']), - ("thread_loop_partitioner", - self.val['thread_loop_partitioner'])) - def to_string(self): - return "Vector<{}>({})".format(self.val.type.template_argument(0), - self.length) + return ("Vector<{}>({})".format(self.val.type.template_argument(0), + self.length) + + build_output_string(['values'], self.val)) class QuadraturePrinter(object):