Index: trunk/MagicSoft/Mars/Changelog
===================================================================
--- trunk/MagicSoft/Mars/Changelog	(revision 3232)
+++ trunk/MagicSoft/Mars/Changelog	(revision 3233)
@@ -6,4 +6,8 @@
 
  2004/01/18: Abelardo Moralejo
+
+    * mtools/MCubicSpline.cc
+      - in Init, corrected initialization of arrays temp and ysd, which
+	was done with n-1 elements instead of n.
 
     * mgui/MHexagon.cc
Index: trunk/MagicSoft/Mars/mtools/MCubicSpline.cc
===================================================================
--- trunk/MagicSoft/Mars/mtools/MCubicSpline.cc	(revision 3232)
+++ trunk/MagicSoft/Mars/mtools/MCubicSpline.cc	(revision 3233)
@@ -72,6 +72,6 @@
 
 {
-    Double_t *temp = new Double_t[n-1];
-    Double_t *ysd  = new Double_t[n-1];
+    Double_t *temp = new Double_t[n];
+    Double_t *ysd  = new Double_t[n];
 
     fCoeff = new TObjArray(n-1,0);
