Skip to content

Commit

Permalink
fixes #1273
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Sep 10, 2023
1 parent 544f20c commit 48f51bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spatDataframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ bool SpatDataFrame::cbind(SpatDataFrame &x) {
} else if (x.itype[i] == 3) {
std::vector<int8_t> d = x.getB(i);
if (!add_column(d, nms[i])) return false;
} else if (x.itype[i] == 3) {
} else if (x.itype[i] == 4) {
SpatTime_v d = x.getT(i);
if (!add_column(d, nms[i])) return false;
} else {
Expand Down

0 comments on commit 48f51bf

Please sign in to comment.