Skip to content

Commit 85f2e2e

Browse files
committed
add braces
fixes #2560
1 parent d6f127c commit 85f2e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proj.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Rcpp::NumericMatrix CPL_proj_direct(Rcpp::CharacterVector from_to, Rcpp::Numeric
349349
// transform:
350350
if (keep) {
351351
// use proj_trans() on individual points, making unprojectable points be NA
352-
PJ_COORD row = { 0.0, 0.0, 0.0, 0.0 }, projected;
352+
PJ_COORD row = {{ 0.0, 0.0, 0.0, 0.0 }}, projected;
353353
for (int i = 0; i < pts.nrow(); i++) {
354354
/*
355355
row.lpzt.lam = x.data()[i].lpzt.lam;

0 commit comments

Comments
 (0)