[Genabel-commits] r1852 - pkg/OmicABELnoMM/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Oct 27 18:07:22 CET 2014


Author: lckarssen
Date: 2014-10-27 18:07:22 +0100 (Mon, 27 Oct 2014)
New Revision: 1852

Modified:
   pkg/OmicABELnoMM/tests/test.cpp
Log:
Removed a few additional warnings about code layout from OmicABELnoMM's test.cpp. Thanks to Jenkins for pointing these out ;-).


Modified: pkg/OmicABELnoMM/tests/test.cpp
===================================================================
--- pkg/OmicABELnoMM/tests/test.cpp	2014-10-27 17:02:35 UTC (rev 1851)
+++ pkg/OmicABELnoMM/tests/test.cpp	2014-10-27 17:07:22 UTC (rev 1852)
@@ -231,7 +231,7 @@
             {
                 params.dosages = d;
                 params.model = d - 1;
-                params.r=dosage_r[d];
+                params.r = dosage_r[d];
                 params.fname_dosages = "examples/dosages_";
                 params.fname_dosages += std::to_string(params.r);
                 params.fname_dosages += ".txt";
@@ -272,10 +272,10 @@
                     for (int i = 0; i < 9; i++ )
                     {
                         //cout << "=========================================\n";
-                        params.fnameOutFiles=out_path[j] + out_keep[k] +
+                        params.fnameOutFiles = out_path[j] + out_keep[k] +
                             dosagename[d] + test_names[i];
                         cout << params.fnameOutFiles << endl;
-                        params.fname_interactions=source_path + test_names[i];
+                        params.fname_interactions = source_path + test_names[i];
 
                         memset(&out, 0, sizeof(out));
                         alg.solve(params, out, P_NEQ_B_OPT_MD);
@@ -363,8 +363,8 @@
         blas_set_num_threads(th);
         params.threads = th;
 
-        params.n=10; params.l=4;  params.r=1;
-        params.t=16; params.tb=1; params.m=16; params.mb=1;
+        params.n = 10; params.l = 4;  params.r = 1;
+        params.t = 16; params.tb = 1; params.m = 16; params.mb = 1;
 
         for (int i = 0; i < iters; i++)
         {
@@ -372,8 +372,8 @@
         }
         cout << "*" << flush;
         /******************************/
-        params.n=10; params.l=4;  params.r=2;
-        params.t=16; params.tb=4; params.m=16; params.mb=4;
+        params.n = 10; params.l = 4;  params.r = 2;
+        params.t = 16; params.tb = 4; params.m = 16; params.mb = 4;
 
 
         for (int i = 0; i < iters; i++)
@@ -382,8 +382,8 @@
         }
         cout << "*" << flush;
         /******************************/
-        params.n=10; params.l=4;  params.r=2;
-        params.t=16; params.tb=3; params.m=16; params.mb=5;
+        params.n = 10; params.l = 4;  params.r = 2;
+        params.t = 16; params.tb = 3; params.m = 16; params.mb = 5;
 
 
         for (int i = 0; i < iters; i++)
@@ -392,8 +392,8 @@
         }
         cout << "*" << flush;
         /******************************/
-        params.n=10; params.l=4;  params.r=2;
-        params.t=4; params.tb=4; params.m=4; params.mb=4;
+        params.n = 10; params.l = 4;  params.r = 2;
+        params.t = 4; params.tb = 4; params.m = 4; params.mb = 4;
 
 
         for (int i = 0; i < iters; i++)
@@ -401,7 +401,6 @@
             alg.solve(params, out, P_NEQ_B_OPT_MD);
         }
         cout << "*" << flush;
-
     }
 
     cout << "\nTest finished succesfully\n";



More information about the Genabel-commits mailing list