[Genabel-commits] r1628 - branches/ProbABEL-0.50/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Mar 1 01:51:04 CET 2014


Author: maartenk
Date: 2014-03-01 01:51:03 +0100 (Sat, 01 Mar 2014)
New Revision: 1628

Modified:
   branches/ProbABEL-0.50/src/reg1.cpp
Log:
fixed wrong code which prevents correct building introduced by last 2 commits

Modified: branches/ProbABEL-0.50/src/reg1.cpp
===================================================================
--- branches/ProbABEL-0.50/src/reg1.cpp	2014-03-01 00:26:29 UTC (rev 1627)
+++ branches/ProbABEL-0.50/src/reg1.cpp	2014-03-01 00:51:03 UTC (rev 1628)
@@ -312,8 +312,7 @@
 
 void linear_reg::mmscore_regression(const MatrixXd& X,
         const MatrixXd& W, LDLT<MatrixXd>& Ch) {
-    MatrixXd::ConstColXpr Y(reg_data.Y.data.col(0));
-    //VectorXd Y = reg_data.Y.data.col(0);
+    VectorXd Y = reg_data.Y.data.col(0);
     if (X.cols() == 3)
     {
         Matrix<double, 3, Dynamic> tXW = X.transpose()* W;



More information about the Genabel-commits mailing list