Index: /issm/trunk/src/c/parallel/thermal_core.cpp
===================================================================
--- /issm/trunk/src/c/parallel/thermal_core.cpp	(revision 1953)
+++ /issm/trunk/src/c/parallel/thermal_core.cpp	(revision 1954)
@@ -37,6 +37,6 @@
 	int    numberofnodes;
 	int    nsteps;
+	double ndt;
 	double dt;
-	double ndt;
 
 	int    sub_analysis_type;
@@ -53,8 +53,8 @@
 	fem_t->FindParam((void*)&sub_analysis_type,"sub_analysis_type");
 	fem_t->FindParam((void*)&debug,"debug");
+	fem_t->FindParam((void*)&ndt,"ndt");
 	fem_t->FindParam((void*)&dt,"dt");
-	fem_t->FindParam((void*)&ndt,"ndt");
 
-	if(ndt==0){
+	if(dt==0){
 
 		time=(double*)xmalloc(sizeof(double));
@@ -107,5 +107,5 @@
 	
 	/*Plug results into output dataset: */
-	if(ndt==0){
+	if(dt==0){
 		result=new Result(results->Size()+1,0,1,"t_g",t_g[0]);
 		results->AddObject(result);
