Skip to content

Commit

Permalink
Fix to remove a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
josherrickson committed Dec 11, 2015
1 parent b12b199 commit d7b15d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mlm.R
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ parseMatchingProblem <- function(formula, data, na.action = na.pass, ...) {

mname <- colnames(mf)[isMatch]

newf <- update(formula, as.formula(paste(".~. -", mname)))
newf <- update(formula, as.formula(paste(".~. -", mname)), data=mf)

# now make a new model frame, using the reduce form of the formula
mf <- model.frame(newf, data, na.action = na.action, ...)
Expand Down

0 comments on commit d7b15d4

Please sign in to comment.