From: Richard Kreckel Date: Sun, 27 Nov 2005 23:08:54 +0000 (+0000) Subject: * Sync to HEAD (namespace standard conformance) [Sheplyakov Alexei]. X-Git-Tag: release_1-3-4~12 X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?a=commitdiff_plain;h=46f7c9fc663183c4d7c32ac49c537f67d36852cc;p=ginac.git * Sync to HEAD (namespace standard conformance) [Sheplyakov Alexei]. --- diff --git a/check/exam_structure.cpp b/check/exam_structure.cpp index 3e7b23a3..8510ee4c 100644 --- a/check/exam_structure.cpp +++ b/check/exam_structure.cpp @@ -47,6 +47,8 @@ inline ex make_sprod(const ex & l, const ex & r) return sprod(sprod_s(l, r)); } +namespace GiNaC { + template <> void sprod::print(const print_context & c, unsigned level) const { const sprod_s & sp = get_struct(); @@ -63,6 +65,8 @@ template <> ex sprod::eval(int level) const return make_sprod(sp.right, sp.left); } +} // namespace GiNaC + unsigned exam_structure() { unsigned result = 0;