[Genabel-commits] r1294 - pkg/ProbABEL/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Aug 14 17:56:11 CEST 2013


Author: lckarssen
Date: 2013-08-14 17:56:11 +0200 (Wed, 14 Aug 2013)
New Revision: 1294

Modified:
   pkg/ProbABEL/src/coxph_data.cpp
   pkg/ProbABEL/src/coxph_data.h
Log:
Again a small change. Add to more const labels to arguments.


Modified: pkg/ProbABEL/src/coxph_data.cpp
===================================================================
--- pkg/ProbABEL/src/coxph_data.cpp	2013-08-14 15:33:06 UTC (rev 1293)
+++ pkg/ProbABEL/src/coxph_data.cpp	2013-08-14 15:56:11 UTC (rev 1294)
@@ -179,7 +179,7 @@
     // sstat.print();
 }
 
-void coxph_data::update_snp(gendata &gend, int snpnum)
+void coxph_data::update_snp(gendata &gend, const int snpnum)
 {
   /**
    * This is the main part of the fix of bug #1846

Modified: pkg/ProbABEL/src/coxph_data.h
===================================================================
--- pkg/ProbABEL/src/coxph_data.h	2013-08-14 15:33:06 UTC (rev 1293)
+++ pkg/ProbABEL/src/coxph_data.h	2013-08-14 15:56:11 UTC (rev 1294)
@@ -33,7 +33,7 @@
     }
 
     coxph_data(const coxph_data &obj);
-    coxph_data(phedata &phed, gendata &gend, int snpnum);
+    coxph_data(phedata &phed, gendata &gend, const int snpnum);
     void update_snp(gendata &gend, const int snpnum);
     void remove_snp_from_X();
     ~coxph_data();



More information about the Genabel-commits mailing list