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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue May 27 00:35:00 CEST 2014


Author: lckarssen
Date: 2014-05-27 00:34:59 +0200 (Tue, 27 May 2014)
New Revision: 1744

Modified:
   pkg/ProbABEL/src/reg1.cpp
Log:
Remove a useless part of an if() in ProbABEL's reg1.cpp

In the lines before the if() we already check if nullmodel==true. If so, we return.
So by the time we reach this if() !nullmodel is always equal to true.


Modified: pkg/ProbABEL/src/reg1.cpp
===================================================================
--- pkg/ProbABEL/src/reg1.cpp	2014-05-26 19:45:42 UTC (rev 1743)
+++ pkg/ProbABEL/src/reg1.cpp	2014-05-26 22:34:59 UTC (rev 1744)
@@ -72,7 +72,7 @@
 
     if (model == 0)
     {
-        if (interaction != 0 && !nullmodel)
+        if (interaction != 0)
         {
             if (ngpreds == 2)
             {



More information about the Genabel-commits mailing list