Index: /issm/branches/trunk-larour-NatGeoScience2016/src/c/analyses/SealevelriseAnalysis.cpp
===================================================================
--- /issm/branches/trunk-larour-NatGeoScience2016/src/c/analyses/SealevelriseAnalysis.cpp	(revision 21329)
+++ /issm/branches/trunk-larour-NatGeoScience2016/src/c/analyses/SealevelriseAnalysis.cpp	(revision 21330)
@@ -42,8 +42,9 @@
 	/*Initialize cumdeltalthickness input: unfortunately, we don't have femmodel, so we need to iterate on 
 	 *elements, otherwise we would have used InputUpdateFromConstantx: */
+	counter=0;
 	for(int i=0;i<iomodel->numberofelements;i++){
 		if(iomodel->my_elements[i]){
 			Element* element=(Element*)elements->GetObjectByOffset(counter);
-			element->InputUpdateFromConstant(0,SealevelriseCumDeltathicknessEnum);
+			element->InputUpdateFromConstant(0.0,SealevelriseCumDeltathicknessEnum);
 			counter++;
 		}
Index: /issm/branches/trunk-larour-NatGeoScience2016/src/c/classes/Elements/Element.cpp
===================================================================
--- /issm/branches/trunk-larour-NatGeoScience2016/src/c/classes/Elements/Element.cpp	(revision 21329)
+++ /issm/branches/trunk-larour-NatGeoScience2016/src/c/classes/Elements/Element.cpp	(revision 21330)
@@ -1585,4 +1585,5 @@
 				name==SealevelEustaticEnum || 
 				name==SealevelriseDeltathicknessEnum || 
+				name==SealevelriseCumDeltathicknessEnum || 
 				name==GiaWEnum || 
 				name==GiadWdtEnum ||
Index: /issm/branches/trunk-larour-NatGeoScience2016/src/c/cores/sealevelrise_core.cpp
===================================================================
--- /issm/branches/trunk-larour-NatGeoScience2016/src/c/cores/sealevelrise_core.cpp	(revision 21329)
+++ /issm/branches/trunk-larour-NatGeoScience2016/src/c/cores/sealevelrise_core.cpp	(revision 21330)
@@ -417,5 +417,5 @@
 	Vector<IssmDouble>* deltathickness=NULL; 
 	Vector<IssmDouble>* cumdeltathickness=NULL; 
-	IssmDouble frequency=1;
+	int frequency=1;
 	int count;
 	
