Index: /issm/trunk-jpl/src/c/classes/FemModel.cpp
===================================================================
--- /issm/trunk-jpl/src/c/classes/FemModel.cpp	(revision 23493)
+++ /issm/trunk-jpl/src/c/classes/FemModel.cpp	(revision 23494)
@@ -3460,5 +3460,5 @@
 	int analysis_index = AnalysisIndex(analysis_enum);
 
-	int numberofnodes_analysistype= this->nodes->NumberOfNodes(analysis_enum);
+	int numberofnodes_analysistype=  this->nodes_list[analysis_index]->NumberOfNodes();
 	int dofpernode						= 2;														//vx and vy
 	int numberofcols					= dofpernode*2;										//to keep dofs and flags in the vspc vector
