[Genabel-commits] r1399 - pkg/GenABEL/src/GAlib

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 19 16:22:57 CET 2013


Author: maksim
Date: 2013-11-19 16:22:56 +0100 (Tue, 19 Nov 2013)
New Revision: 1399

Modified:
   pkg/GenABEL/src/GAlib/reg1data.h
Log:
Replaced & by && in if(...)

Modified: pkg/GenABEL/src/GAlib/reg1data.h
===================================================================
--- pkg/GenABEL/src/GAlib/reg1data.h	2013-11-19 06:19:36 UTC (rev 1398)
+++ pkg/GenABEL/src/GAlib/reg1data.h	2013-11-19 15:22:56 UTC (rev 1399)
@@ -100,7 +100,7 @@
 		{
 			stime[i] = (regdat.Y).get(i,0);
 			sstat[i] = int((regdat.Y).get(i,1));
-			if (sstat[i] != 1 & sstat[i]!=0) 
+			if (sstat[i] != 1 && sstat[i]!=0) 
 			{
 				//fprintf(stderr,"coxph_data: status not 0/1 (right order: id, fuptime, status ...)\n");
 				error("coxph_data: status not 0/1 (right order: id, fuptime, status ...)");



More information about the Genabel-commits mailing list