]> git.pld-linux.org Git - packages/GiNaC.git/commitdiff
- C++ fixes needed by gcc 4.1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Mar 2006 13:16:54 +0000 (13:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    GiNaC-c++.patch -> 1.1

GiNaC-c++.patch [new file with mode: 0644]

diff --git a/GiNaC-c++.patch b/GiNaC-c++.patch
new file mode 100644 (file)
index 0000000..166d3f8
--- /dev/null
@@ -0,0 +1,29 @@
+--- ginac-1.3.3/ginac/indexed.cpp.orig 2005-05-19 16:24:35.000000000 +0200
++++ ginac-1.3.3/ginac/indexed.cpp      2006-03-26 10:53:44.571072250 +0200
+@@ -704,6 +704,8 @@
+       }
+ }
++ex simplify_indexed(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp);
++
+ /** Simplify product of indexed expressions (commutative, noncommutative and
+  *  simple squares), return list of free indices. */
+ ex simplify_indexed_product(const ex & e, exvector & free_indices, exvector & dummy_indices, const scalar_products & sp)
+--- ginac-1.3.3/check/exam_structure.cpp.orig  2005-05-01 20:12:42.000000000 +0200
++++ ginac-1.3.3/check/exam_structure.cpp       2006-03-26 12:48:58.639174500 +0200
+@@ -47,6 +47,7 @@
+       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();
+@@ -62,6 +63,7 @@
+       else
+               return make_sprod(sp.right, sp.left);
+ }
++}
+ unsigned exam_structure()
+ {
This page took 0.038823 seconds and 4 git commands to generate.