Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 25234)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 25235)
@@ -5805,15 +5805,13 @@
 	IssmDouble rho_freshwater;
 
-	/*constants:*/
-	IssmDouble constant=0;
-
-	/*Initialize eustatic component: do not skip this step :):*/
-	IssmDouble eustatic = 0.;
+
+	/*Initialize eustatic component: grab from the previous eustatic core!:*/
+	IssmDouble eustatic = *peustatic;
 
 	/*early return if we are on an ice cap:*/
-	if(masks->isiceonly[this->lid]){ *peustatic=0; return; }
+	if(masks->isiceonly[this->lid]){ return; }
 
 	/*early return if we are fully floating:*/
-	if (masks->isfullyfloating[this->lid]){ constant=0; *peustatic=0; return; }
+	if (masks->isfullyfloating[this->lid]){ return; }
 
 	/*If we are here, we are on earth, not on ice: */
@@ -5850,5 +5848,5 @@
 	/*Assign output pointer:*/
 	_assert_(!xIsNan<IssmDouble>(eustatic));
-	*peustatic=eustatic;
+	*peustatic+=eustatic; //do not forget the +, otherwise, you'll wipe out previous eustatic contributions!
 	return;
 }
