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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon May 19 19:05:32 CEST 2014


Author: lckarssen
Date: 2014-05-19 19:05:31 +0200 (Mon, 19 May 2014)
New Revision: 1733

Modified:
   pkg/ProbABEL/src/gendata.cpp
Log:
Ouch! an ugly piece of test code was still present in the previous commit. This fixes that.


Modified: pkg/ProbABEL/src/gendata.cpp
===================================================================
--- pkg/ProbABEL/src/gendata.cpp	2014-05-19 16:58:46 UTC (rev 1732)
+++ pkg/ProbABEL/src/gendata.cpp	2014-05-19 17:05:31 UTC (rev 1733)
@@ -41,8 +41,7 @@
                                     const int amount_of_numbers){
     int j = 0;
     // Check if not a null pointer
-//    if (!*all_numbers){
-    if (true) {
+    if (!*all_numbers){
         perror("Error while reading genetic data (expected pointer to char "
                "but found a null pointer)");
         exit(EXIT_FAILURE);



More information about the Genabel-commits mailing list