[Genabel-commits] r1982 - branches/ProbABEL-v0.4.4-hotfix/ProbABEL/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun May 24 00:22:17 CEST 2015
Author: lckarssen
Date: 2015-05-24 00:22:17 +0200 (Sun, 24 May 2015)
New Revision: 1982
Modified:
branches/ProbABEL-v0.4.4-hotfix/ProbABEL/src/coxph_data.cpp
Log:
Fix compiler warning about overflow in ProbABEL CoxPH module.
Use int = 0 instead of int = NAN.
Modified: branches/ProbABEL-v0.4.4-hotfix/ProbABEL/src/coxph_data.cpp
===================================================================
--- branches/ProbABEL-v0.4.4-hotfix/ProbABEL/src/coxph_data.cpp 2015-05-23 21:47:56 UTC (rev 1981)
+++ branches/ProbABEL-v0.4.4-hotfix/ProbABEL/src/coxph_data.cpp 2015-05-23 22:22:17 UTC (rev 1982)
@@ -464,7 +464,7 @@
if (flag < X.nrow)
{
#if EIGEN
- int which_sing = NAN;
+ int which_sing = 0;
MatrixXd imateigen = imat.data;
VectorXd imatdiag = imateigen.diagonal();
More information about the Genabel-commits
mailing list