Index: /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 24963)
+++ /issm/trunk-jpl/src/c/classes/Elements/Tria.cpp	(revision 24964)
@@ -5597,11 +5597,12 @@
 	#ifdef _HAVE_RESTRICT_ 
 	IssmDouble* __restrict__ G=NULL;
-	IssmDouble* __restrict__GU=NULL;
-	IssmDouble* __restrict__GN=NULL;
-	IssmDouble* __restrict__GE=NULL;
-	IssmDouble* __restrict__G_elastic_precomputed=NULL;
-	IssmDouble* __restrict__G_rigid_precomputed=NULL;
-	IssmDouble* __restrict__U_elastic_precomputed=NULL;
-	IssmDouble* __restrict__H_elastic_precomputed=NULL;
+	IssmDouble* __restrict__ GU=NULL;
+	IssmDouble* __restrict__ GN=NULL;
+	IssmDouble* __restrict__ GE=NULL;
+	IssmDouble* __restrict__ G_elastic_precomputed=NULL;
+	IssmDouble* __restrict__ G_rigid_precomputed=NULL;
+	IssmDouble* __restrict__ U_elastic_precomputed=NULL;
+	IssmDouble* __restrict__ H_elastic_precomputed=NULL;
+	IssmDouble* __restrict__ indices=NULL;
 	#else
 	IssmDouble* G=NULL;
@@ -5613,8 +5614,8 @@
 	IssmDouble* U_elastic_precomputed=NULL;
 	IssmDouble* H_elastic_precomputed=NULL;
+	IssmDouble* indices=NULL;
 	#endif
  
 	/*elastic green function:*/
-	IssmDouble* indices=NULL;
 	int index;
 	int         M;
@@ -5636,14 +5637,14 @@
 	/*recover precomputed green function kernels:*/
 	DoubleVecParam* parameter = static_cast<DoubleVecParam*>(this->parameters->FindParamObject(SealevelriseGRigidEnum)); _assert_(parameter);
-	parameter->GetParameterValueByPointer(&G_rigid_precomputed,&M);
+	parameter->GetParameterValueByPointer((IssmDouble**)&G_rigid_precomputed,&M);
 
 	parameter = static_cast<DoubleVecParam*>(this->parameters->FindParamObject(SealevelriseGElasticEnum)); _assert_(parameter);
-	parameter->GetParameterValueByPointer(&G_elastic_precomputed,&M);
+	parameter->GetParameterValueByPointer((IssmDouble**)&G_elastic_precomputed,&M);
 
 	parameter = static_cast<DoubleVecParam*>(this->parameters->FindParamObject(SealevelriseHElasticEnum)); _assert_(parameter);
-	parameter->GetParameterValueByPointer(&H_elastic_precomputed,&M);
+	parameter->GetParameterValueByPointer((IssmDouble**)&H_elastic_precomputed,&M);
 
 	parameter = static_cast<DoubleVecParam*>(this->parameters->FindParamObject(SealevelriseUElasticEnum)); _assert_(parameter);
-	parameter->GetParameterValueByPointer(&U_elastic_precomputed,&M);
+	parameter->GetParameterValueByPointer((IssmDouble**)&U_elastic_precomputed,&M);
 
 	/*allocate indices:*/
