Index: /issm/trunk-jpl/src/c/classes/Elements/Element.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 21558)
+++ /issm/trunk-jpl/src/c/classes/Elements/Element.cpp	(revision 21559)
@@ -2040,6 +2040,7 @@
 					GetInputListOnVertices(&enthalpy[0],EnthalpyEnum);
 					ThermalToEnthalpy(&enthalpy[3],yearlytemperatures[3],0.,0.);
-					ThermalToEnthalpy(&enthalpy[4],yearlytemperatures[3],0.,0.);
-					ThermalToEnthalpy(&enthalpy[5],yearlytemperatures[3],0.,0.);
+					ThermalToEnthalpy(&enthalpy[4],yearlytemperatures[4],0.,0.);
+					ThermalToEnthalpy(&enthalpy[5],yearlytemperatures[5],0.,0.);
+					printarray(enthalpy,1,6);
 					this->inputs->AddInput(new PentaInput(EnthalpyEnum,&enthalpy[0],P1Enum));
 				}
