Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Convert logical vector to real
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Dec 4, 2023
1 parent 8f5cf86 commit 0785022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etTran.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ List etTransParse(List inData, List mv, bool addCmt=false,
} else if (TYPEOF(cur) == LGLSXP) {
curType[0] = IntegerVector::create(5);
curType[1] = R_NilValue;
inDataFK[j] = cur;
inDataFK[j] = as<NumericVector>(cur);
inDataFKL[j] = curType;
} else {
stop(_("the columns that are kept must be either a logical, string, a factor, an integer number, or a real number"));
Expand Down

0 comments on commit 0785022

Please sign in to comment.