Index: /issm/trunk-jpl/src/m/consistency/ismodelselfconsistent.js
===================================================================
--- /issm/trunk-jpl/src/m/consistency/ismodelselfconsistent.js	(revision 19828)
+++ /issm/trunk-jpl/src/m/consistency/ismodelselfconsistent.js	(revision 19829)
@@ -6,8 +6,10 @@
 
 	//initialize consistency as true
-	md.private.isconsistent=true;
+	md.priv.isconsistent=true;
 
 	//Get solution and associated analyses
-	solution=md.private.solution;
+	solution=md.priv.solution;
+	if(typeof solution != 'number')throw Error('ismodelselfconsistent: did not provide solution type in the private class!');
+	
 	var analyses = AnalysisConfiguration(solution);
 
@@ -30,5 +32,5 @@
 
 	//error message if mode is not consistent
-	if (md.private.isconsistent==false){
+	if (md.priv.isconsistent==false){
 		throw Error('Model not consistent, see messages above');
 	}
