Skip to content

Commit

Permalink
comment out warning to avoid problems on CRAN until issue with SETLEN…
Browse files Browse the repository at this point in the history
…GTH (Issue #82 and Issue #88 resolved)
  • Loading branch information
merliseclyde committed Nov 26, 2024
1 parent dcae47a commit 34a98b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lm_sampleworep.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ extern SEXP sampleworep_new(SEXP Y, SEXP X, SEXP Rweights, SEXP Rprobinit,
}

if (m < k) {
// warning("too many models allocated; using SETLENGTH to resize\n"); // resize
// warning("allocated %d models but only %d sampled; using SETLENGTH to resize\n", k, m);
// resize
// consider using force.heredity
k = m;

Expand Down

0 comments on commit 34a98b4

Please sign in to comment.