Skip to content

Commit

Permalink
c++ stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
doserjef committed May 17, 2024
1 parent 5be6571 commit 55c4a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lfMsDS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
*******************************/
Expand Down

0 comments on commit 55c4a36

Please sign in to comment.