]> www.ginac.de Git - ginac.git/blobdiff - check/exam_structure.cpp
Hide failure due to term reordering.
[ginac.git] / check / exam_structure.cpp
index 3e7b23a38ae1ee23ff0aeaae46140f1e43234b0b..84de56babb267d73048d9fd9c4f09c908092edfa 100644 (file)
@@ -3,7 +3,7 @@
  *  Small test for the structure<> template. */
 
 /*
- *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2007 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
@@ -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;