From 55c4a3608242bb558a5d3f7db20f4e5e1baa44a9 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 17 May 2024 10:33:17 -0400 Subject: [PATCH] c++ stuff --- src/lfMsDS.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lfMsDS.cpp b/src/lfMsDS.cpp index 3219330..41e48a7 100755 --- a/src/lfMsDS.cpp +++ b/src/lfMsDS.cpp @@ -128,7 +128,7 @@ extern "C" { omp_set_num_threads(nThreads); #else if(nThreads > 1){ - warning("n.omp.threads > 1, but source not compiled with OpenMP support."); + Rf_warning("n.omp.threads > 1, but source not compiled with OpenMP support."); nThreads = 1; } #endif @@ -841,7 +841,7 @@ extern "C" { for (j = 0; j < J; j++) { likeVal = 0.0; tmp_0 = 0.0; - if ((XpRE[alphaStarIndx[l] * J + j] == alphaLevelIndx[l])) { + if (XpRE[alphaStarIndx[l] * J + j] == alphaLevelIndx[l]) { /******************************** * Candidate *******************************/