From 4361bc1ddd47fc23d36c061e1daa9b583de98be0 Mon Sep 17 00:00:00 2001 From: Christian Bauer Date: Wed, 22 Aug 2001 16:10:59 +0000 Subject: [PATCH] updated my_print2(): every find*() method of archive_node accepts an "index" parameter --- doc/tutorial/ginac.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/tutorial/ginac.texi b/doc/tutorial/ginac.texi index 7cb3dd40..3e0256b9 100644 --- a/doc/tutorial/ginac.texi +++ b/doc/tutorial/ginac.texi @@ -4323,19 +4323,19 @@ static void my_print2(const archive_node & n) switch (p[i].type) @{ case archive_node::PTYPE_BOOL: @{ bool x; - n.find_bool(name, x); + n.find_bool(name, x, j); cout << (x ? "true" : "false"); break; @} case archive_node::PTYPE_UNSIGNED: @{ unsigned x; - n.find_unsigned(name, x); + n.find_unsigned(name, x, j); cout << x; break; @} case archive_node::PTYPE_STRING: @{ string x; - n.find_string(name, x); + n.find_string(name, x, j); cout << '\"' << x << '\"'; break; @} -- 2.45.0