[cig-commits] r9026 - cs/benchmark/cigma/trunk/src
luis at geodynamics.org
luis at geodynamics.org
Mon Jan 14 21:27:44 PST 2008
Author: luis
Date: 2008-01-14 21:27:44 -0800 (Mon, 14 Jan 2008)
New Revision: 9026
Modified:
cs/benchmark/cigma/trunk/src/Quadrature.cpp
Log:
Uninitialized variable!
Modified: cs/benchmark/cigma/trunk/src/Quadrature.cpp
===================================================================
--- cs/benchmark/cigma/trunk/src/Quadrature.cpp 2008-01-15 02:01:59 UTC (rev 9025)
+++ cs/benchmark/cigma/trunk/src/Quadrature.cpp 2008-01-15 05:27:44 UTC (rev 9026)
@@ -7,6 +7,7 @@
qdim = 0;
qpts = 0;
qwts = 0;
+ cell = 0;
}
@@ -33,6 +34,9 @@
if (qpts != 0) delete [] qpts;
if (qwts != 0) delete [] qwts;
+ /* assign cell pointer! */
+ this->cell = cell;
+
/* set dimensions */
this->num = npts;
this->dim = cell->n_celldim();
More information about the cig-commits
mailing list