Skip to content

Commit

Permalink
remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
merliseclyde committed Nov 21, 2024
1 parent 68e72f9 commit dcae47a
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("too many models allocated; using SETLENGTH to resize\n"); // resize
// consider using force.heredity
k = m;

SETLENGTH(modelspace, m);
Expand Down

0 comments on commit dcae47a

Please sign in to comment.