Index: /issm/trunk/src/c/solutions/ResetBoundaryConditions.cpp
===================================================================
--- /issm/trunk/src/c/solutions/ResetBoundaryConditions.cpp	(revision 4444)
+++ /issm/trunk/src/c/solutions/ResetBoundaryConditions.cpp	(revision 4445)
@@ -7,5 +7,5 @@
 #include "../EnumDefinitions/EnumDefinitions.h"
 
-void ResetBoundaryConditions(FemModel* femmodel, int analysis_type, int sub_analysis_type){
+void ResetBoundaryConditions(FemModel* femmodel, int analysis_type){
 	
 	int verbose=0;
@@ -16,9 +16,9 @@
 	if(verbose)_printf_("%s\n"," updating boundary conditions...");
 			
+	/*set current analysis: */
+	femmodel->SetCurrentConfiguration(analysis_type);
+
 	GetSolutionFromInputsx( &ug, femmodel->elements,femmodel->nodes, femmodel->vertices,femmodel->loads, femmodel->materials,  femmodel->parameters);
 
-	/*set current analysis: */
-	femmodel->SetCurrentConfiguration(analysis_type);
-	
 	/*For this analysis_type, free existing boundary condition vectors: */
 	analysis_counter=femmodel->analysis_counter;
Index: /issm/trunk/src/c/solutions/solutions.h
===================================================================
--- /issm/trunk/src/c/solutions/solutions.h	(revision 4444)
+++ /issm/trunk/src/c/solutions/solutions.h	(revision 4445)
@@ -46,5 +46,5 @@
 void stokescontrolinit(FemModel* femmodel);
 void controlrestart(FemModel* femmodel,double* J);
-void ResetBoundaryConditions(FemModel* femmodel, int analysis_type, int sub_analysis_type);
+void ResetBoundaryConditions(FemModel* femmodel, int analysis_type);
 
 //solution configuration
