Index: ../trunk-jpl/src/m/classes/taoinversion.m
===================================================================
--- ../trunk-jpl/src/m/classes/taoinversion.m	(revision 18671)
+++ ../trunk-jpl/src/m/classes/taoinversion.m	(revision 18672)
@@ -91,7 +91,7 @@
 
 			PETSCMAJOR = IssmConfig('_PETSC_MAJOR_');
 			PETSCMINOR = IssmConfig('_PETSC_MINOR_');
-			if(PETSCMAJOR>3 | PETSCMAJOR==3 & PETSCMINOR>=5)
+			if(PETSCMAJOR>3 | (PETSCMAJOR==3 & PETSCMINOR>=5))
 				md = checkfield(md,'fieldname','inversion.algorithm','values',{'blmvm','cg','lmvm'});
 			else
 				md = checkfield(md,'fieldname','inversion.algorithm','values',{'tao_blmvm','tao_cg','tao_lmvm'});
