aboutsummaryrefslogtreecommitdiffstats
path: root/math/gracetmpl/files/patch-pygracetmpl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/gracetmpl/files/patch-pygracetmpl.cc')
-rw-r--r--math/gracetmpl/files/patch-pygracetmpl.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/gracetmpl/files/patch-pygracetmpl.cc b/math/gracetmpl/files/patch-pygracetmpl.cc
new file mode 100644
index 000000000000..9ba3f2d0cad8
--- /dev/null
+++ b/math/gracetmpl/files/patch-pygracetmpl.cc
@@ -0,0 +1,11 @@
+--- python/src/pygracetmpl.cc.orig Mon Aug 16 18:25:45 2004
++++ python/src/pygracetmpl.cc Mon Aug 16 18:31:35 2004
+@@ -179,7 +179,7 @@
+ int rows = dataArray->dimensions[1];
+ if(cols > 4)
+ cols = 4;
+- double **data = new (double *)[cols];
++ double **data = new double *[cols];
+ for(int c = 0; c < cols; ++c){
+ data[c] = new double[rows];
+ for(int r = 0; r < rows; ++r)