Index: /issm/trunk-jpl/src/c/classes/Elements/Element.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 27341)
+++ /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 27342)
@@ -130,5 +130,5 @@
 			/*Compute polynomial with parameters of indperiod*/
 			if(indperiod==0) telapsed_break = tatstep;
-			else             telapsed_break = tatstep-datebreaks_basin[indperiod];
+			else             telapsed_break = tatstep-datebreaks_basin[indperiod-1];
 			for(int j=0;j<numparams;j++)   sumpoly[s] = sumpoly[s]+polyparams_basin[indperiod+j*numperiods]*pow(telapsed_break,j);
 		}
@@ -2767,5 +2767,5 @@
 		/*Compute intercept+trend terms with parameters of indperiod*/
       if(indperiod==0) telapsed_break = time;
-      else             telapsed_break = time-datebreaks_b[indperiod];
+      else             telapsed_break = time-datebreaks_b[indperiod-1];
       piecewiselin = intercepts_b[indperiod]+trends_b[indperiod]*telapsed_break;
 	}
Index: /issm/trunk-jpl/src/c/modules/FrontalForcingsx/FrontalForcingsx.cpp
===================================================================
--- /issm/trunk-jpl/src/c/modules/FrontalForcingsx/FrontalForcingsx.cpp	(revision 27341)
+++ /issm/trunk-jpl/src/c/modules/FrontalForcingsx/FrontalForcingsx.cpp	(revision 27342)
@@ -101,3 +101,6 @@
    xDelete<IssmDouble>(polyparams);
    xDelete<IssmDouble>(datebreaks);
+   xDelete<IssmDouble>(monthdatebreaks);
+   xDelete<IssmDouble>(monthintercepts);
+   xDelete<IssmDouble>(monthtrends);
 }/*}}}*/
